danny0405 commented on a change in pull request #2238:
URL: https://github.com/apache/calcite/pull/2238#discussion_r520276359
##########
File path: core/src/test/java/org/apache/calcite/rex/RexProgramTest.java
##########
@@ -1687,10 +1687,8 @@ private void checkExponentialCnf(int n) {
isNotNull(bRef));
// [CALCITE-4352] causes "and b is not null" to disappear from the expanded
// form.
- final String simplified = "AND(SEARCH($0, Sarg[(0..10)]),"
- + " SEARCH($1, Sarg[NOT NULL]))";
- final String expanded =
- "AND(AND(>($0, 0), <($0, 10)), IS NOT NULL($1))";
+ final String simplified = "AND(SEARCH($0, Sarg[(0..10)]), IS NOT
NULL($1))";
+ final String expanded = "AND(AND(>($0, 0), <($0, 10)), IS NOT NULL($1))";
checkSimplify(expr, simplified)
Review comment:
I agree, have promoted it in the new commit.
----------------------------------------------------------------
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]