This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
new aa56362141 [fix](ctas) use json_object in CTAS get wrong result
(#14446)
aa56362141 is described below
commit aa56362141f8655344aea3a7dbf98ff895f4d223
Author: xueweizhang <[email protected]>
AuthorDate: Mon Nov 21 20:59:23 2022 +0800
[fix](ctas) use json_object in CTAS get wrong result (#14446)
cherry-pick from master : #14173
---
.../src/main/java/org/apache/doris/analysis/FunctionCallExpr.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
b/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
index ff1551234c..bb1b32261f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java
@@ -168,6 +168,7 @@ public class FunctionCallExpr extends Expr {
if (params.exprs() != null) {
children.addAll(params.exprs());
}
+ originChildSize = children.size();
}
protected FunctionCallExpr(FunctionCallExpr other) {
@@ -179,6 +180,7 @@ public class FunctionCallExpr extends Expr {
// Clone the params in a way that keeps the children_ and the
params.exprs()
// in sync. The children have already been cloned in the super c'tor.
fnParams = other.fnParams.clone(children);
+ originChildSize = other.originChildSize;
aggFnParams = other.aggFnParams;
this.isMergeAggFn = other.isMergeAggFn;
fn = other.fn;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]