You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/12/22 15:05:46 UTC

[doris] branch master updated: [fix](Nereids): fix bug of converting to NLJ. (#15268)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 67647f0cf6 [fix](Nereids): fix bug of converting to NLJ. (#15268)
67647f0cf6 is described below

commit 67647f0cf6b67de4a124e64b78b35730fe6edbc6
Author: jakevin <ja...@gmail.com>
AuthorDate: Thu Dec 22 23:05:39 2022 +0800

    [fix](Nereids): fix bug of converting to NLJ. (#15268)
---
 fe/fe-core/src/main/java/org/apache/doris/nereids/util/JoinUtils.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/util/JoinUtils.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/util/JoinUtils.java
index 5f590e2842..2e3e39540a 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/nereids/util/JoinUtils.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/util/JoinUtils.java
@@ -29,7 +29,6 @@ import org.apache.doris.nereids.trees.expressions.ExprId;
 import org.apache.doris.nereids.trees.expressions.Expression;
 import org.apache.doris.nereids.trees.expressions.NamedExpression;
 import org.apache.doris.nereids.trees.expressions.Slot;
-import org.apache.doris.nereids.trees.plans.JoinType;
 import org.apache.doris.nereids.trees.plans.Plan;
 import org.apache.doris.nereids.trees.plans.algebra.Join;
 import org.apache.doris.nereids.trees.plans.physical.AbstractPhysicalJoin;
@@ -174,8 +173,7 @@ public class JoinUtils {
     }
 
     public static boolean shouldNestedLoopJoin(Join join) {
-        JoinType joinType = join.getJoinType();
-        return (joinType.isInnerJoin() && join.getHashJoinConjuncts().isEmpty()) || joinType.isCrossJoin();
+        return join.getHashJoinConjuncts().isEmpty();
     }
 
     /**


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org