morrySnow commented on code in PR #64293:
URL: https://github.com/apache/doris/pull/64293#discussion_r3385284391
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/jobs/executor/Rewriter.java:
##########
@@ -501,6 +502,7 @@ public class Rewriter extends AbstractBatchJobExecutor {
bottomUp(
// The later rule CHECK_PRIVILEGES which inherent from
ColumnPruning only works
// if the aggregation node is normalized, so we need
call NormalizeAggregate here
+ new CountLiteralRewrite(),
Review Comment:
why add so many CountLiteralRewrite before NormalizeAggregate?
NormalizeAggregate not process aggregate function's child
--
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]