diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java index 817362d46384e5..0030ef1bad47b5 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java @@ -280,22 +280,28 @@ private void initCascadesContext(LogicalPlan plan, PhysicalProperties requirePro } private void analyze() { + LOG.info("Start analyze plan"); cascadesContext.newAnalyzer().analyze(); NereidsTracer.logImportantTime("EndAnalyzePlan"); + LOG.info("End analyze plan"); } /** * Logical plan rewrite based on a series of heuristic rules. */ private void rewrite() { + LOG.info("Start rewrite plan"); Rewriter.getWholeTreeRewriter(cascadesContext).execute(); NereidsTracer.logImportantTime("EndRewritePlan"); + LOG.info("End rewrite plan"); } // DependsRules: EnsureProjectOnTopJoin.class private void optimize() { + LOG.info("Start optimize plan"); new Optimizer(cascadesContext).execute(); NereidsTracer.logImportantTime("EndOptimizePlan"); + LOG.info("End optimize plan"); } private PhysicalPlan postProcess(PhysicalPlan physicalPlan) {