-
Couldn't load subscription status.
- Fork 1k
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Describe the solution you'd like
Add util function to convert from ParquetStatistics to ArrayRef
Describe alternatives you've considered
arrow-datafusion has a util trait PruningStatistics that converts RowGroupPruningStatistics into ArrayRef used to prune the blocks.
But the util function like get_min_max_values will convert the statisticsinto datafusion's ScalarValue and convert it back into ArrayRef which seems very redundant because it could be done without datafusion.
So I suggest that arrow-rs could support this trait like arrow2 did
Additional context