This is an automated email from the ASF dual-hosted git repository.
jakevin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ceccc451faa [enhancement](Nereids): add LOG info to show the phase of
NereidsPlanner. (#26538)
ceccc451faa is described below
commit ceccc451faabf1b26a7bef9de0206c40a554ed55
Author: jakevin <[email protected]>
AuthorDate: Tue Nov 7 21:46:54 2023 +0800
[enhancement](Nereids): add LOG info to show the phase of NereidsPlanner.
(#26538)
Add LOG info to show the phase of NereidsPlanner, we can use these info to
debug.
---
.../src/main/java/org/apache/doris/nereids/NereidsPlanner.java | 6 ++++++
1 file changed, 6 insertions(+)
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 436ecae5520..fa25c5a6d90 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
@@ -264,22 +264,28 @@ public class NereidsPlanner extends Planner {
}
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) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]