morrySnow commented on code in PR #29242: URL: https://github.com/apache/doris/pull/29242#discussion_r1437596002
########## fe/fe-core/src/main/java/org/apache/doris/nereids/rules/implementation/AggregateStrategies.java: ########## @@ -140,6 +143,48 @@ public List<Rule> buildRules() { return pushdownCountOnIndex(agg, project, filter, olapScan, ctx.cascadesContext); }) ), + RuleType.MINMAX_ON_UNIQUE_TABLE_WITHOUT_PROJECT.build( Review Comment: why add additional rule here? why not just change storageLayerAggregate function? -- 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