Dandandan opened a new issue, #7688:
URL: https://github.com/apache/arrow-datafusion/issues/7688

   ### Is your feature request related to a problem or challenge?
   
   When `pushdown_filters` is enabled, DF should be able to eliminate the 
subsequent filter.
   When enabling the option for tpc-h benchmark, the `FilterExec` and 
`l_shipdate` projection is still present in the plans.
   
   For example query 3 we can see the filter:
   
   ```
   FilterExec: l_shipdate@3 > 9204
     ParquetExec: file_groups={2 groups: [[...]]},
       projection=[l_orderkey, l_extendedprice, l_discount, l_shipdate], 
predicate=l_shipdate@10 > 9204, pruning_predicate=l_shipdate_max@0 > 9204
   ```
   
   ### Describe the solution you'd like
   
   Remove the filter when.
   
   We probably need to make some changes to `TableProvider` `FileFormat` to 
support removing the filter based on the file format.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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

Reply via email to