seawinde commented on code in PR #29256: URL: https://github.com/apache/doris/pull/29256#discussion_r1439304800
########## fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/mv/AbstractMaterializedViewAggregateRule.java: ########## @@ -60,15 +63,18 @@ */ public abstract class AbstractMaterializedViewAggregateRule extends AbstractMaterializedViewRule { - protected static final Map<Expression, Expression> - AGGREGATE_ROLL_UP_EQUIVALENT_FUNCTION_MAP = new HashMap<>(); + // we only support roll up function which has only one argument currently + protected static final List<Pair<Expression, Expression>> + AGGREGATE_ROLL_UP_EQUIVALENT_FUNCTION_LIST = new ArrayList<>(); Review Comment: Yeah you are right, I decide to use `MultiMap`, it's almost same to the `map<Expression, map<Expression, Expression>> ` -- 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