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

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


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 534531347bc branch-3.1: [fix](local shuffle) add distribute exprs to 
set operation node #56157 (#56180)
534531347bc is described below

commit 534531347bc5ce373d2ad3803adb9d9c1018516c
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Sep 28 14:49:21 2025 +0800

    branch-3.1: [fix](local shuffle) add distribute exprs to set operation node 
#56157 (#56180)
    
    Cherry-picked from #56157
    
    Co-authored-by: morrySnow <[email protected]>
---
 .../apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
index 4909ab53233..c0946fd07d8 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java
@@ -2121,6 +2121,8 @@ public class PhysicalPlanTranslator extends 
DefaultPlanVisitor<PlanFragment, Pla
         } else {
             throw new RuntimeException("not support set operation type " + 
setOperation);
         }
+        List<List<Expr>> distributeExprLists = 
getDistributeExprs(setOperation.children().toArray(new Plan[0]));
+        setOperationNode.setChildrenDistributeExprLists(distributeExprLists);
         setOperationNode.setNereidsId(setOperation.getId());
 
         for (List<SlotReference> regularChildrenOutput : 
setOperation.getRegularChildrenOutputs()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to