wutiangan opened a new issue #4569:
URL: https://github.com/apache/incubator-doris/issues/4569


   **Describe the bug**
   a fragment is as bellow:
   `
   
                   5:  broadcast hashNode
   
            3: aggNode              4:exchangeNode
   
          2: shuffle hashNode
   
     0:exchangeNode  1:exchangeNode
   
   `
                          
   If the numnodes of the fragment corresponding to 【exchangelode 0】 is 1, the 
numnodes of the farament corresponding to 【exchangelode 1】 is also 1, and the 
numnode of the fragment corresponding to 【exchangelode 4】 is 4, the parallelism 
of this fragment is max (1,1,4) = 4. However, we plan only one aggnode in the 
distributed execution planning phase (this is because the numnode of both 
leftchildsegment and regithchild segment is 1, we only need one AGG Node).
   Since the concurrency of fragment is 4(In Coordinator phase), we need two 
layers of aggnode(in distribute planner phase), but the node of fragment is 
already unchangeable。
   
   the query will produce wrong result
   


----------------------------------------------------------------
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:
[email protected]



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

Reply via email to