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


   Fixes #3995 
   ## Why does it happen
   When SetOperations encounters that the previous node needs Aggregate, the 
timing of add AggregationNode is wrong. You should add AggregationNode first 
before add other children.
   ## Why doesn't intersect and union have this problem
   intersect and union conform to the commutation law, so it doesn't matter if 
the order is wrong
   ## Why this problem has not been tested before
   In the previous test case, not cover the previous node was not 
AggregationNode


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