You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/02/23 06:24:59 UTC
[GitHub] [incubator-doris] arthuryangcs commented on a change in pull request #8112: [fix](load) Fix InsertStmt prepareExpressions
arthuryangcs commented on a change in pull request #8112:
URL: https://github.com/apache/incubator-doris/pull/8112#discussion_r812588806
##########
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'm not sure this is right, but this can solve the issues :)
I don't know why using getBaseTblResultExprs rather than getResultExprs there, are there some other considerations?
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org