mihaibudiu commented on code in PR #4586:
URL: https://github.com/apache/calcite/pull/4586#discussion_r2441363603


##########
core/src/test/java/org/apache/calcite/test/RelMetadataTest.java:
##########
@@ -4340,6 +4341,18 @@ private void assertExpressionLineage(
     assertThat(resultString, is("+([CATALOG, SALES, EMP].#0.$5, 1)"));
   }
 
+  /** Test case for <a 
href="https://issues.apache.org/jira/browse/CALCITE-7070";>[CALCITE-7070]
+   * FILTER_REDUCE_EXPRESSIONS crashes on expression BETWEEN ( NULL) AND 
X</a>. */
+  @Test void testJoinCrash() {

Review Comment:
   without the changes above this fails with an AssertionFailure:
   Comparison with NULL in pulledUpPredicates



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

Reply via email to