arthuryangcs commented on a change in pull request #8112:
URL: https://github.com/apache/incubator-doris/pull/8112#discussion_r812590295



##########
File path: fe/fe-core/src/main/java/org/apache/doris/analysis/InsertStmt.java
##########
@@ -667,7 +667,7 @@ private void analyzePlanHints(Analyzer analyzer) throws 
AnalysisException {
     }
 
     public void prepareExpressions() throws UserException {
-        List<Expr> selectList = 
Expr.cloneList(queryStmt.getBaseTblResultExprs());
+        List<Expr> selectList = Expr.cloneList(queryStmt.getResultExprs());

Review comment:
       I think that generating InserStmt's resultExprs from queryStmt's 
resultExprs is more reasonable, or maybe I make a mistake.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to