morrySnow opened a new pull request, #9498:
URL: https://github.com/apache/incubator-doris/pull/9498

   # Proposed changes
   
   Issue Number: close #9476
   
   UT will be add later.
   
   ## Problem Summary:
   
   Push down predicate past aggregate cannot push down predicate past 2 phase 
aggregate.
   
   origin plan is like this:
   ```
   second phase agg (conjuncts on olap scan node tuples)
   |
   first phase agg
   |
   olap scan node
   ```
   should be optimized to
   ```
   second phase agg
   |
   first phase agg
   |
   olap scan node (conjuncts on olap scan node tuples)
   ```
   
   ## Checklist(Required)
   
   1. Does it affect the original behavior: (Yes)
   2. Has unit tests been added: (No)
   3. Has document been added or modified: (No Need)
   4. Does it need to update dependencies: (No)
   5. Are there any changes that cannot be rolled back: (No)
   


-- 
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-unsubscr...@doris.apache.org

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