You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "sohardforaname (via GitHub)" <gi...@apache.org> on 2023/06/05 04:27:39 UTC

[GitHub] [doris] sohardforaname commented on a diff in pull request #20313: [Feature](Nereids)support update.

sohardforaname commented on code in PR #20313:
URL: https://github.com/apache/doris/pull/20313#discussion_r1217459306


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -2221,6 +2222,11 @@ private PlanFragment exchangeToMergeFragment(PlanFragment inputFragment, PlanTra
         PlanFragment fragment = new PlanFragment(context.nextFragmentId(), mergePlan, dataPartition);
         inputFragment.setDestination(mergePlan);
         context.addPlanFragment(fragment);
+        if (inputFragment.getSink() instanceof OlapTableSink) {
+            DataSink sink = inputFragment.getSink();
+            inputFragment.cleanSink();
+            fragment.setSink(sink);
+        }

Review Comment:
   because it's changed at the same time as the pr, I remove it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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