libenchao commented on code in PR #3257:
URL: https://github.com/apache/calcite/pull/3257#discussion_r1225811155
##########
core/src/test/java/org/apache/calcite/rex/RexProgramTest.java:
##########
@@ -1768,6 +1768,68 @@ private void checkExponentialCnf(int n) {
checkSimplify(expr, simplified);
}
+ /** Unit test for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-5759">[CALCITE-5759]
+ * SEARCH operator with special sarg is not fully simplified</a>. */
+ @Test void testSimplifySearchWithSpecialSargIsNotNull() {
+ RexNode intExpression =
Review Comment:
How about name it `intLiteral`?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]