mihaibudiu commented on code in PR #4911:
URL: https://github.com/apache/calcite/pull/4911#discussion_r3158512549
##########
core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java:
##########
@@ -12308,4 +12308,17 @@ private void
checkLoptOptimizeJoinRule(LoptOptimizeJoinRule rule) {
.withRule(CoreRules.PROJECT_FILTER_VALUES_MERGE)
.checkUnchanged();
}
+
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-7497">[CALCITE-7497]
+ * Enable Lambda supports constant folding</a>.
+ */
+ @Test void testReduceLambdaBodyConstantFolding() {
Review Comment:
Please add more complex test cases, where there are some constants within
the body of the lambda, but not the entire body is constant
--
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]