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 2023/06/14 03:57:48 UTC

[doris] branch master updated: Fix](Nereids) insert into table not need unpartitioned as root fragment's data partition (#20737)

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 1c394f4964 Fix](Nereids) insert into table not need unpartitioned as root fragment's data partition (#20737)
1c394f4964 is described below

commit 1c394f496421da0e374db72f418ad44f6132962c
Author: mch_ucchi <41...@users.noreply.github.com>
AuthorDate: Wed Jun 14 11:57:41 2023 +0800

    Fix](Nereids) insert into table not need unpartitioned as root fragment's data partition (#20737)
---
 .../apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a2dcbacfcc..77d856e2da 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
@@ -334,7 +334,7 @@ public class PhysicalPlanTranslator extends DefaultPlanVisitor<PlanFragment, Pla
             PlanFragment currentFragment = new PlanFragment(
                     context.nextFragmentId(),
                     exchangeNode,
-                    DataPartition.UNPARTITIONED);
+                    rootFragment.getOutputPartition());
 
             rootFragment.setPlanRoot(exchangeNode.getChild(0));
             rootFragment.setDestination(exchangeNode);


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