alamb commented on issue #10400:
URL: https://github.com/apache/datafusion/issues/10400#issuecomment-2108642426

   > @alamb using `PruningPredicate` makes sense, but please can you point me 
at where I need to make changes to add this functionality?
   
   I recommend updating the existing though poorly named 
[AggregateStatistics](https://docs.rs/datafusion/latest/datafusion/physical_optimizer/aggregate_statistics/struct.AggregateStatistics.html)
 pass
   
   And there you could potentially call `ExecutionPlan::statistics()` and use 
PruningPredicate to prove that some predicates can't be true and replace them 
with `PlaceholderRowExec`


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to