kangkaisen commented on a change in pull request #3604:
URL: https://github.com/apache/incubator-doris/pull/3604#discussion_r427444436



##########
File path: fe/src/main/java/org/apache/doris/qe/Coordinator.java
##########
@@ -914,17 +914,29 @@ private void computeFragmentHosts() throws Exception {
                 // there is no leftmost scan; we assign the same hosts as 
those of our
                 // leftmost input fragment (so that a partitioned aggregation
                 // fragment runs on the hosts that provide the input data)
-                PlanFragmentId inputFragmentIdx = 
fragments.get(i).getChild(0).getFragmentId();
+
+                // find a input fragment which has a higher parallelism
+                int inputFragmentIndex = 0;
+                int maxParallelism = 0;

Review comment:
       I think `parallelism` rename  to  instance_number is better.




----------------------------------------------------------------
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.

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



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

Reply via email to