From eea84ac36ceb789e0512e15a5444ea4a7df32a86 Mon Sep 17 00:00:00 2001 From: jakevin Date: Tue, 19 Sep 2023 12:06:30 +0800 Subject: [PATCH] [fix](Nereids): use == instead of id to identity PhysicalHashJoin (#24535) --- .../doris/nereids/trees/plans/physical/PhysicalHashJoin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/physical/PhysicalHashJoin.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/physical/PhysicalHashJoin.java index 62aebe8b8b..c0c9b602b3 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/physical/PhysicalHashJoin.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/physical/PhysicalHashJoin.java @@ -209,7 +209,7 @@ public class PhysicalHashJoin< if (RuntimeFilterGenerator.DENIED_JOIN_TYPES.contains(getJoinType()) || isMarkJoin()) { if (builderNode instanceof PhysicalHashJoin) { PhysicalHashJoin builderJion = (PhysicalHashJoin) builderNode; - if (builderJion.id.asInt() == id.asInt()) { + if (builderJion == this) { return false; } }