morrySnow commented on code in PR #65206:
URL: https://github.com/apache/doris/pull/65206#discussion_r3541952971
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/util/AggregateUtils.java:
##########
@@ -61,10 +62,10 @@ public static AggregateFunction
tryConvertToMultiDistinct(AggregateFunction func
/**countDistinctMultiExprToCountIf*/
public static Expression countDistinctMultiExprToCountIf(Count count) {
- Set<Expression> arguments = ImmutableSet.copyOf(count.getArguments());
- Expression countExpr = count.getArgument(arguments.size() - 1);
+ List<Expression> arguments =
ImmutableList.copyOf(ImmutableSet.copyOf(count.getArguments()));
Review Comment:
Use LinkedHashSet
--
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]