我想使用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}
]
}“”“
}
}