paleolimbot opened a new issue, #20707: URL: https://github.com/apache/datafusion/issues/20707
### Is your feature request related to a problem or challenge? The current `ColumnStatistics` structure is not able to represent nested types (e.g., list, map, or struct) for which statistics are present in Parquet data sources and perhaps others as well. https://github.com/apache/datafusion/blob/d025869526e5c7c2c32d5f6318a634522d44a538/datafusion/common/src/stats.rs#L724-L752 In addition to list/struct/map statistics, the `Statistics` struct can't represent statistics for extension types. Three extension types for which we can get statistics from Parquet files are geometry, geography, and variant; however, there is no place to put them in the Statistics so they are dropped. One approach for doing this is in https://github.com/apache/datafusion/pull/20589 , although I wonder if something dynamic could work as well (e.g., a trait with methods for the transformations that are currently hard coded for a fixed set of types). ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
