This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new d582ce5170 [fix](planner) should set preserveRootTypes to true when
call substituteList method in ExprSubstitutionMap's compose method (#24411)
d582ce5170 is described below
commit d582ce5170628b884967911456acaf709fa1a309
Author: starocean999 <[email protected]>
AuthorDate: Fri Sep 15 18:35:27 2023 +0800
[fix](planner) should set preserveRootTypes to true when call
substituteList method in ExprSubstitutionMap's compose method (#24411)
pick from master #24392
---
.../src/main/java/org/apache/doris/analysis/ExprSubstitutionMap.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/analysis/ExprSubstitutionMap.java
b/fe/fe-core/src/main/java/org/apache/doris/analysis/ExprSubstitutionMap.java
index b483f50285..656ca12207 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/analysis/ExprSubstitutionMap.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/analysis/ExprSubstitutionMap.java
@@ -149,7 +149,7 @@ public final class ExprSubstitutionMap {
ExprSubstitutionMap result = new ExprSubstitutionMap();
// f's substitution targets need to be substituted via g
result.lhs = Expr.cloneList(f.lhs);
- result.rhs = Expr.substituteList(f.rhs, g, analyzer, false);
+ result.rhs = Expr.substituteList(f.rhs, g, analyzer, true);
// substitution maps are cumulative: the combined map contains all
// substitutions from f and g.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]