我想使用 Morphlines 读取镶木地板文件。参考:https ://medium.com/@bkvarda/index-parquet-with-morphlines-and-solr-20671cd93a41
此 Parquet 文件具有 DECIMAL 数据类型。我没有找到任何文档,如何在 Morphlines 中处理 DECIMAL。我在 conf 文件中使用以下代码,但它不起作用。=============================test_morphlines.conf=================== =========== 命令:[
# Read the Parquet data
{ readAvroParquetFile {
projection:
readerSchemaString:"""{ "type": "record"
,"name": "my_record"
,"fields": [
{"name": "audit_internal_id","type":["bytes","null"],"logicalType":"decimal","precision":38,"scale":10,"default":0 }
,{"name": "alert_id","type":["bytes","null"],"logicalType":"decimal","precision":38,"scale":10,"default":0 } ]
}"""
}
}