morningman commented on a change in pull request #3137: fix a daily test fail
URL: https://github.com/apache/incubator-doris/pull/3137#discussion_r394307895
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/analysis/SetOperationStmt.java
 ##########
 @@ -649,7 +649,8 @@ public void analyze(Analyzer parent) throws 
AnalysisException, UserException {
             if (isAnalyzed()) {
                 return;
             }
-            if (queryStmt instanceof SelectStmt && ((SelectStmt) 
queryStmt).fromClause_.isEmpty()) {
+            if (operation != Operation.UNION && queryStmt instanceof SelectStmt
 
 Review comment:
   Could you add comment to explain why you change here?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to