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/29 10:52:41 UTC

[GitHub] [arrow-datafusion] alamb commented on pull request #436: Remove reundant filters (e.g. c> 5 AND c>5 --> c>5)

alamb commented on pull request #436:
URL: https://github.com/apache/arrow-datafusion/pull/436#issuecomment-850813215


   > (c > 5) OR ((d < 6) AND (c > 5)) should be simplified to (c > 5), isn't it?
   
   Yes you are correct -- I guess I was quickly trying to cook up examples similar to @Dandandan  that showed searching for an arbitrary instance of the same expression (even if it appeared in some nested structure) was going to incorrectly remove the nested instance in some cases
   


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