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

   One thought I had about this feature was to consider writing predicates like
   
   ```sql
   y = 10
   ```
   
   Instead of 
   ```
   y_min <= 10 AND y_max >=10
   ```
   
   To something like 
   
   ```sql
   CASE 
     WHEN y_null_count == y_row_count THEN false
     ELSE y_min <= 10 AND y_max >=10
   END
   ```
   
   where `y_row_count` is a new column based on the value of 
`PruningStatistics::row_counts`
   
   
   I think this would only be valid for top level expressions in the `AND` 
clause (not any arbitrary sub expression)


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