xudong963 opened a new issue, #16511:
URL: https://github.com/apache/datafusion/issues/16511

   ### Is your feature request related to a problem or challenge?
   
   The predicates in filter can be variable, it's possible to use the cp_solver 
to simplify the predicates in filter, then reduce the computing cost for filter.
   
   ### Describe the solution you'd like
   
   We've done some basic simplification in 
https://github.com/apache/datafusion/pull/16362, we can make it a start to 
develop a more sophisticated rule to cover more cases
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
    What I want to discuss:
   1. Make it a new physical optimizer rule? Or add them to the current 
physical filter push down
   2. Some filters, such as partition columns related predicates, will be fully 
pushed down scan, that is, we don't have such predicates in some FilterExec. 
How to capture this?
   3. TBD (You may have other thoughts!)


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