adriangb commented on PR #27894:
URL: https://github.com/apache/datafusion/pull/27894#issuecomment-7336473691

   > RequiredColumns::single_column() is deprecated. RequiredColumns::columns() 
is new. Behavior does not change.
   
   The unfortunate part is that I'd like to change `RequiredColumns` -> 
`RequiredStatistics` (that's what it's really tracking, and it will be 
essentially a `HashMap<PhysicalExpr, StatisticRequest>` where `PhysicalExpr` 
will be `Column` or `get_field(col, 'a')` and `Statistic` will be 
`Min/Max/NullCount`.
   
   The point is that `PruningPredicate` negotiates w/ the file format what 
statistics are available as it's rewriting, then stores the information on what 
statistics the format said were available and later they can be retrieved.


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