danny0405 commented on a change in pull request #1304: [CALCITE-3171] SemiJoin
on conditions push down throws IndexOutOfBoun…
URL: https://github.com/apache/calcite/pull/1304#discussion_r300972097
##########
File path: core/src/test/java/org/apache/calcite/test/RelOptRulesTest.java
##########
@@ -414,6 +415,46 @@ protected DiffRepository getDiffRepos() {
.check();
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-3171">[CALCITE-3171]
+ * SemiJoin on conditions push down throws IndexOutOfBoundsException</a>. */
+ @Test public void testPushSemiJoinConditionsToLeft() {
+ final RelBuilder relBuilder =
RelBuilder.create(RelBuilderTest.config().build());
+ // build a rel equivalent to sql:
Review comment:
Yep, thanks for correcting.
----------------------------------------------------------------
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