You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/24 20:37:27 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #410: Remove reundant filters (e.g. `c> 5 AND c>5` --> `c>5`)

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


   Sure -- sounds great @jgoday 
   
   I think the transformation is valid for predicates connected by `AND` at any "depth"
   
   so like I would hope the transformation would work for both the following:
   ```
   (c > 5) AND (c > 5) --> (c > 5)
   ((c > 5) AND (d < 6)) AND (c > 5) --> (c > 5) AND (d < 6)
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org