Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Oct 23, 2024
1 parent 81541fa commit ea7d742
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -589,16 +589,15 @@ 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("");
break;
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();
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit ea7d742

Please sign in to comment.