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 2021/12/15 09:27:32 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #7362: Fix mv rewrite bug

morningman commented on a change in pull request #7362:
URL: https://github.com/apache/incubator-doris/pull/7362#discussion_r769427141



##########
File path: fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java
##########
@@ -673,6 +673,17 @@ private void resetAnalyzerAndStmt() {
         analyzer = new Analyzer(context.getCatalog(), context);
 
         parsedStmt.reset();
+
+        if (parsedStmt instanceof SelectStmt) {

Review comment:
       Could you add comment to explain why we need to reset select list here?
   And SelectStmt is one kind of QueryStmt, what about SetOperationStmt?




-- 
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