rubenada commented on a change in pull request #1322: [CALCITE-3198] 
ReduceExpressionsRule.FILTER_INSTANCE does not reduce 'NOT(x=a AND x=b)'
URL: https://github.com/apache/calcite/pull/1322#discussion_r305710440
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/test/RexProgramTest.java
 ##########
 @@ -1581,6 +1588,13 @@ private void checkExponentialCnf(int n) {
     final RexLiteral literal3 = 
rexBuilder.makeExactLiteral(BigDecimal.valueOf(3));
     final RexLiteral literal4 = 
rexBuilder.makeExactLiteral(BigDecimal.valueOf(4));
 
+    // "a <> 1 or a <> 2" ==> "true"
+    checkSimplifyFilter(
 
 Review comment:
   Ok, I'll re-organize the test

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to