You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/07/30 02:30:46 UTC

[GitHub] [calcite] chunweilei commented on a change in pull request #1340: [CALCITE-3192] Simplify OR incorrectly weaks condition

chunweilei commented on a change in pull request #1340: [CALCITE-3192] Simplify OR incorrectly weaks condition
URL: https://github.com/apache/calcite/pull/1340#discussion_r308510535
 
 

 ##########
 File path: core/src/test/resources/org/apache/calcite/test/RelOptRulesTest.xml
 ##########
 @@ -4955,7 +4955,7 @@ LogicalProject(EXPR$0=[1])
       LogicalProject(DEPTNO=[$7])
         LogicalFilter(condition=[>($7, 10)])
           LogicalTableScan(table=[[CATALOG, SALES, EMP]])
-    LogicalFilter(condition=[>($7, 7)])
+    LogicalFilter(condition=[OR(>($7, 7), >($7, 10))])
       LogicalTableScan(table=[[CATALOG, SALES, EMP]])
 ]]>
 
 Review comment:
   `OR(>($7, 7), >($7, 10))` cannot be simplified to `>($7, 7)`?

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


With regards,
Apache Git Services