appletreeisyellow commented on issue #9171:
URL: 
https://github.com/apache/arrow-datafusion/issues/9171#issuecomment-1942830786

   For a predicate with more than one columns, we might want to have a WHEN 
clause for each column. 
   
   For example, rewriting a predicate like `x < 5 AND x > 0 AND y = 10` into
   
   ```sql
   CASE
     WHEN x_null_count = x_row_count THEN false
     WHEN y_null_count = y_row_count THEN false
     ELSE <rewrite for x < 5 AND x > 0 AND y = 10>
   END
   ```


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