This is an automated email from the ASF dual-hosted git repository.

huajianlan pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 90040e7f922 [Fix] fix compile problem (#34184)
90040e7f922 is described below

commit 90040e7f922eecd2474b379c087ca44fb239fab4
Author: feiniaofeiafei <53502832+feiniaofeia...@users.noreply.github.com>
AuthorDate: Fri Apr 26 17:57:16 2024 +0800

    [Fix] fix compile problem (#34184)
    
    fix compile problem in branch-2.1
---
 .../java/org/apache/doris/nereids/rules/rewrite/MergeAggregate.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/MergeAggregate.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/MergeAggregate.java
index a2c23dd9b41..8ea8a7f217d 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/MergeAggregate.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/rewrite/MergeAggregate.java
@@ -146,7 +146,7 @@ public class MergeAggregate implements RewriteRuleFactory {
                         (existValue, newValue) -> existValue));
         Set<AggregateFunction> aggregateFunctions = 
outerAgg.getAggregateFunctions();
         List<AggregateFunction> replacedAggFunctions = 
projectOptional.map(project ->
-                (List<AggregateFunction>) 
PlanUtils.replaceExpressionByProjections(
+                (List<AggregateFunction>) (List) 
PlanUtils.replaceExpressionByProjections(
                 projectOptional.get().getProjects(), new 
ArrayList<>(aggregateFunctions)))
                 .orElse(new ArrayList<>(aggregateFunctions));
         for (AggregateFunction outerFunc : replacedAggFunctions) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to