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

yiguolei 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 062fd45f60 fix lateral view explode_split with temp table. cherry-pick 
pr12643 to branch-1.1-lts (#12835)
062fd45f60 is described below

commit 062fd45f60e8b8adfbb231e1da8719ef1e082f4e
Author: camby <[email protected]>
AuthorDate: Thu Sep 22 08:39:35 2022 +0800

    fix lateral view explode_split with temp table. cherry-pick pr12643 to 
branch-1.1-lts (#12835)
    
    Co-authored-by: cambyzju <[email protected]>
---
 fe/fe-core/src/main/java/org/apache/doris/planner/SingleNodePlanner.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/planner/SingleNodePlanner.java 
b/fe/fe-core/src/main/java/org/apache/doris/planner/SingleNodePlanner.java
index c4f6106cdd..008cb7df44 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/SingleNodePlanner.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/SingleNodePlanner.java
@@ -1376,6 +1376,7 @@ public class SingleNodePlanner {
                 
unionNode.setTblRefIds(Lists.newArrayList(inlineViewRef.getId()));
                 unionNode.addConstExprList(selectStmt.getBaseTblResultExprs());
                 unionNode.init(analyzer);
+                unionNode.setOutputSmap(inlineViewRef.getSmap());
                 //set outputSmap to substitute literal in outputExpr
                 if (analyzer.isOuterJoined(inlineViewRef.getId()) && 
!VectorizedUtil.isVectorized()) {
                     
unionNode.setWithoutTupleIsNullOutputSmap(inlineViewRef.getSmap());


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

Reply via email to