From ea7d742924183ff060565d94356c83df99b3d2b1 Mon Sep 17 00:00:00 2001 From: minghong Date: Wed, 23 Oct 2024 11:22:01 +0800 Subject: [PATCH] typo --- .../main/java/org/apache/doris/nereids/NereidsPlanner.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 0a6c1e298ff9b06..0cbedfb6aea9c35 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 @@ -589,7 +589,7 @@ public String getExplainString(ExplainOptions explainOptions) { plan = rewrittenPlan.treeString(); break; case OPTIMIZED_PLAN: - plan = "cost = " + cost + "\n" + optimizedPlan.treeString() + mvSummary; + plan = "cost = " + cost + "\n" + optimizedPlan.treeString(); break; case SHAPE_PLAN: plan = optimizedPlan.shape(""); @@ -597,8 +597,7 @@ public String getExplainString(ExplainOptions explainOptions) { case MEMO_PLAN: plan = cascadesContext.getMemo().toString() + "\n\n========== OPTIMIZED PLAN ==========\n" - + optimizedPlan.treeString() - + mvSummary; + + optimizedPlan.treeString(); break; case DISTRIBUTED_PLAN: StringBuilder distributedPlanStringBuilder = new StringBuilder(); @@ -642,7 +641,7 @@ public String getExplainString(ExplainOptions explainOptions) { } if (statementContext != null) { if (statementContext.isHasUnknownColStats()) { - plan += "planed with unknown column statistics\n"; + plan += "\nplaned with unknown column statistics\n"; } if (statementContext.getDisableJoinReorderReason().isPresent()) { plan += "\ndisable join reorder reason\n";