parquet RowGroup pruning for Dictionary(Decimal)
type incorrect
#13821
Labels
bug
Something isn't working
Dictionary(Decimal)
type incorrect
#13821
Describe the bug
Parquet RowGroup pruning by statistics works incorrectly for
Dictionary(Decimal)
type.To Reproduce
Expected behavior
Results from both queries from the script above should match
Additional context
The problem also happens with bloom filters (if enable them in pattern matching expressions in
prune_by_bloom_filters
), so there is a chance thatArrowWriter
produces incorrect metadata (statistics / bloom filters).+ after adding larger value to the batch (like
100 as i128
which is10.0
when casted to decimal(4, 1)), RG is not pruned, so perhaps something like* pow(10, scale)
lost while writing statistics / calculating filters.The text was updated successfully, but these errors were encountered: