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

yangzhg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3e34fe2  [FE] [BUG] GroupingFunctionCallExpr: realChildren should be 
copied too. (#5584)
3e34fe2 is described below

commit 3e34fe2529b2b0674b8c2c44c2dae95cfb6d5abe
Author: 曹建华 <[email protected]>
AuthorDate: Thu Apr 8 09:11:11 2021 +0800

    [FE] [BUG] GroupingFunctionCallExpr: realChildren should be copied too. 
(#5584)
---
 .../main/java/org/apache/doris/analysis/GroupingFunctionCallExpr.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/GroupingFunctionCallExpr.java
 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/GroupingFunctionCallExpr.java
index b785327..c205750 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/analysis/GroupingFunctionCallExpr.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/analysis/GroupingFunctionCallExpr.java
@@ -49,6 +49,9 @@ public class GroupingFunctionCallExpr extends 
FunctionCallExpr {
     public GroupingFunctionCallExpr(GroupingFunctionCallExpr other) {
         super(other);
         this.childrenReseted = other.childrenReseted;
+        if (this.childrenReseted) {
+            this.realChildren = Expr.cloneList(other.realChildren);
+        }
     }
 
     @Override

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to