liutang123 opened a new pull request #4482:
URL: https://github.com/apache/incubator-doris/pull/4482


   For #4481.
   
   ## Proposed changes
   
   In DistributedPlanner, do not add the unnecessary Exchanges.
   For case 1, we only need to judge that the table's distribute hash keys is a 
subset of the aggregate keys.
   For case 2, we should jude two conditions:
    - partition keys are also hash keys.
    - the table's distribute hash keys is a subset of the aggregate keys.
   


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