diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/DistributePlanner.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/DistributePlanner.java index 13e00eb69672f7e..747d06352356545 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/DistributePlanner.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/distribute/DistributePlanner.java @@ -144,7 +144,7 @@ private List filterInstancesWhichCanReceiveDataFromRemote( if (useLocalShuffle) { return getFirstInstancePerShareScan(receiverPlan); } else if (enableShareHashTableForBroadcastJoin && linkNode.isRightChildOfBroadcastHashJoin()) { - return getFirstInstancePerShareScan(receiverPlan); + return getFirstInstancePerWorker(receiverPlan.getInstanceJobs()); } else { return receiverPlan.getInstanceJobs(); }