This is an automated email from the ASF dual-hosted git repository.
yiguolei 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 bf5885a8f8f branch-2.1: [opt](Nereids) avoid generate nested alias
expr when plan insert values (#50388)
bf5885a8f8f is described below
commit bf5885a8f8f25fe62c91066865b3756e7ec60de6
Author: morrySnow <[email protected]>
AuthorDate: Fri May 9 11:06:24 2025 +0800
branch-2.1: [opt](Nereids) avoid generate nested alias expr when plan
insert values (#50388)
---
.../src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java
index 727364d56d4..693dc0dfc22 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindSink.java
@@ -247,6 +247,7 @@ public class BindSink implements AnalysisRuleFactory {
// we skip it.
continue;
}
+ expr = expr.toSlot();
DataType inputType = expr.getDataType();
DataType targetType =
DataType.fromCatalogType(tableSchema.get(i).getType());
Expression castExpr = expr;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]