Open alamb opened 1 week ago
take
Hi @PsiACE -- I was wondering how you were faring with this ticket?
Hi @PsiACE -- I was wondering how you were faring with this ticket?
Today I will submit a PR.
BTW @tshauck added a PR https://github.com/apache/arrow-rs/issues/5949 upstream in parquet-rs (not yet available in datafusion) that might make this easier
Is your feature request related to a problem or challenge?
Part of https://github.com/apache/datafusion/issues/10922
We are adding APIs to efficiently convert the data stored in Parquet's "PageIndex" into
ArrayRef
s -- which will make it significiantly easier to use this information for pruning and other tasks.Describe the solution you'd like
Add support to
StatisticsConverter::min_page_statistics
andStatisticsConverter::max_page_statistics
for the types abovehttps://github.com/apache/datafusion/blob/a923c659cf932f6369f2d5257e5b99128b67091a/datafusion/core/src/datasource/physical_plan/parquet/statistics.rs#L637-L656
Describe alternatives you've considered
You can follow the model from @Weijun-H in https://github.com/apache/datafusion/pull/10931
Update the test for the listed data types (I think it is
test_binary
) following the model oftest_int64
https://github.com/apache/datafusion/blob/a923c659cf932f6369f2d5257e5b99128b67091a/datafusion/core/tests/parquet/arrow_statistics.rs#L506-L529Add any required implementation in https://github.com/apache/datafusion/blob/2f4347647172f6997448b2e24d322b50c856f3a0/datafusion/core/src/datasource/physical_plan/parquet/statistics.rs#L575-L586 (follow the model of the row counts, https://github.com/apache/datafusion/blob/2f4347647172f6997448b2e24d322b50c856f3a0/datafusion/core/src/datasource/physical_plan/parquet/statistics.rs#L90)
Additional context
No response