cisaacson commented on issue #13994:
URL: https://github.com/apache/datafusion/issues/13994#issuecomment-2575344845

   > You can also declare that the data source does not support pushing down 
any filters, and then, within a custom optimization rule similar to 
PushDownFilter, push the filters to your own data source. If this is a common 
requirement from the community, we could try to integrate this logic into 
DataFusion, such as pushing down all supported filters to data sources at once 
only during the final optimization step.
   
   The issue now is that we want DataFusion to use the `filters` that are not 
supported in pushdown, and ignore the ones that do have `Exact` support. Seems 
like how it is now is the best way to do that.
   
   And I understand about `&mut self`, that would change a lot of things. 
   
   Unless I am missing something, short of building our own custom optimizer 
code it is as good as it can be now. 


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