You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by za...@apache.org on 2021/07/15 08:08:48 UTC

[calcite] branch master updated: [CALCITE-4623] SemiJoinRule should not match SEMI join

This is an automated email from the ASF dual-hosted git repository.

zabetak pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e1ce04  [CALCITE-4623] SemiJoinRule should not match SEMI join
5e1ce04 is described below

commit 5e1ce04ec007d4af78c8abffc3965fea815503f4
Author: Stamatis Zampetakis <za...@gmail.com>
AuthorDate: Wed Jul 14 11:24:17 2021 +0300

    [CALCITE-4623] SemiJoinRule should not match SEMI join
---
 core/src/main/java/org/apache/calcite/rel/rules/SemiJoinRule.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/calcite/rel/rules/SemiJoinRule.java b/core/src/main/java/org/apache/calcite/rel/rules/SemiJoinRule.java
index 60c9f7a..823a26b 100644
--- a/core/src/main/java/org/apache/calcite/rel/rules/SemiJoinRule.java
+++ b/core/src/main/java/org/apache/calcite/rel/rules/SemiJoinRule.java
@@ -48,7 +48,7 @@ public abstract class SemiJoinRule
     implements TransformationRule {
   private static boolean isJoinTypeSupported(Join join) {
     final JoinRelType type = join.getJoinType();
-    return type == JoinRelType.INNER || type == JoinRelType.SEMI || type == JoinRelType.LEFT;
+    return type == JoinRelType.INNER || type == JoinRelType.LEFT;
   }
 
   /**