You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/07/08 07:28:59 UTC

[GitHub] [calcite] rubenada commented on a change in pull request #1304: [CALCITE-3171] SemiJoin on conditions push down throws IndexOutOfBoun…

rubenada 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_r300955306
 
 

 ##########
 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:
   minor errors in SQL description:
   where emp.**deptno** 
   in (select dept.deptno from dept where **emp**.empno **>** 20)

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services