924060929 commented on code in PR #11589:
URL: https://github.com/apache/doris/pull/11589#discussion_r946334265


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java:
##########
@@ -108,6 +110,9 @@ public PhysicalPlan plan(LogicalPlan plan, 
PhysicalProperties outputProperties)
         // resolve column, table and function
         analyze();
 
+        // eliminate sub-query and alias node
+        finalizeAnalyze();

Review Comment:
   remove this line, the finalizeAnalyze function already exists in 
NereidsAnalyzer#analyze and more reasonable, because finalizeAnalyze is a part 
of analyze stage, and can reuse in other place without remember execute two job



-- 
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-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to