2010YOUY01 commented on issue #19487:
URL: https://github.com/apache/datafusion/issues/19487#issuecomment-3695393329

   > One thought since I'm working on the topic: how would you propose we 
handle struct columns? As far as I know Parquet does populate statistics for 
struct column leaves but DataFusion's statistics / pruning only knows how to 
handle top-level columns.
   
   Now, I plan to build this statistics propagation feature with the existing 
`PruningStatistics` 
https://github.com/apache/datafusion/blob/6ce237492d9f75477c594ba132b2575932122dd6/datafusion/common/src/pruning.rs#L63
   
   Is it the case this trait can't populate stats for individual struct 
columns? Is it possible to extend `PruningStatistics` for it? And the later 
propagation steps should be able to handle them.


-- 
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]

Reply via email to