morrySnow opened a new pull request, #35899: URL: https://github.com/apache/doris/pull/35899
for sql like: SELECT DISTINCT c1 FROM t GROUP BY c1, c2 should do distinct c1 after group by c1 and c2. the plan should be Project(isDistinct=true, [c1]) +-- Aggregate(groupByKey=[c1, c2], output=[c1]) but we lost distinct project with Aggregate(groupByKey=[c1, c2], output=[c1]) the result is wrong because c1 do not DISTINCT at all -- 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