Hi all :wave: I've opened a small bug fix for the ...
# contributing-to-starrocks
m
Hi all đź‘‹ I've opened a small bug fix for the Parquet reader and would appreciate a review when someone has time: PR: github.com/StarRocks/starrocks/pull/82544 Issue: github.com/StarRocks/starrocks/issues/78698 Parquet allows DECIMAL to be stored as variable-length BYTE_ARRAY (for example, Kafka Connect writes Avro decimals this way), but StarRocks only handled FIXED_LEN_BYTE_ARRAY, so queries failed with not supported convert from parquet
BYTE_ARRAY
to
DECIMAL64
. The fix adds a converter for variable-length decimals and wires it in for DECIMALV2/32/64/128. It's one source file plus unit tests, and all CI checks pass. I've also tested it on a 4.1.7 build against real Kafka Connect Parquet files, and the results matched pyarrow exactly. It's marked for backport to 4.1 and 4.2.