Rich-T-kid opened a new issue, #24114: URL: https://github.com/apache/datafusion/issues/24114
### Is your feature request related to a problem or challenge? Deciding whether to dictionary-encode a column requires knowing its cardinality (NDV), Datafusion does support https://docs.rs/datafusion/latest/datafusion/common/struct.ColumnStatistics.html but we need to validate this. ### Describe the solution you'd like Improve NDV statistics collection focused on Parquet, and get these stats into DataFusion in a form the optimizer can actually use (e.g. exposed on `ColumnStatistics`). ### Describe alternatives you've considered _No response_ ### Additional context Direct sub-issue of #22891 piece of Epic : #24111 -- 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]
