You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ya...@apache.org on 2021/04/08 01:11:21 UTC
[incubator-doris] branch master updated: [FE] [BUG]
GroupingFunctionCallExpr: realChildren should be copied too. (#5584)
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: 曹建华 <ca...@bytedance.com>
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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org