avamingli commented on PR #685:
URL: https://github.com/apache/cloudberry/pull/685#issuecomment-2500107537

   > Orca removed the distinct expression when it is used on the agg expression 
even if there is group by clause, do we need to consider that?
   
   We can consider that type of optimization in the future. 
   In line with the goals of this PR, we have optimized statements like 
DISTINCT, DISTINCT ON, ORDER BY, and LIMIT. 
   However, given the presence of GROUP BY, the optimizations for ORDER BY and 
LIMIT may no longer apply. 
   With GROUP BY clause should be another topic for optimization.
   


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

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