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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]