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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   When looking at the physical plans,  I am seeing predicates pushed down to 
ParquetExec that are more complex than needed.
   
   E.g. for TPC-H query 12 this is a value for predicate that is pushed down 
(notice the `and true and true`
   ```
   l_shipmode_min@0 <= MAIL AND MAIL <= l_shipmode_max@1 OR l_shipmode_min@0 <= 
SHIP AND SHIP <= l_shipmode_max@1 
   AND true AND true AND l_receiptdate_max@2 >= 8766 AND l_receiptdate_min@3 < 
9131
   ```
   
   
   **Describe the solution you'd like**
   Don't introduce `and true` in those expressions.
   
   **Describe alternatives you've considered**
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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