Open wilwade opened 1 year ago
I made a PR attempting to add rudimentary support for Decimal fields that are represented by byte arrays, which may have precision over 18.
I suspect that the earlier pull request has caused some regression issues related to DECIMAL
values. Some folks are reporting the following error:
missing option: typeLength (required for FIXED_LEN_BYTE_ARRAY)
From what I can gather, this occurs even if there are no FIXED_LEN_BYTE_ARRAY
backed DECIMAL
values (only INT64
in one case).
@craxal the fix from @JasonYeMSFT released in v1.6.1 (just this morning) should fix it.
@wilwade Ah, yes, I think it does. Just tested it myself. Sorry, I thought the pull request had already been released.
Currently this library only supports DECIMAL reading and writing when the precision is <= 18
To annotate the Parquet Spec: https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#decimal
Test Files:
Related Issues: