This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new fb4fc9e7f69 branch-4.0: Fix typo in Nereids EXPLAIN output ('planed' → 
'planned') #57337 (#58560)
fb4fc9e7f69 is described below

commit fb4fc9e7f69e7667f269dfc71f5d0d4fef20b173
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Dec 2 09:47:00 2025 +0800

    branch-4.0: Fix typo in Nereids EXPLAIN output ('planed' → 'planned') 
#57337 (#58560)
    
    Cherry-picked from #57337
    
    Co-authored-by: Hari Krishnan U <[email protected]>
---
 .../java/org/apache/doris/nereids/NereidsPlanner.java  |  2 +-
 .../nereids_p0/stats/col_stats/column_stats.groovy     | 18 +++++++++---------
 2 files changed, 10 insertions(+), 10 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 81d5108ce2c..c54f2c13a6f 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
@@ -928,7 +928,7 @@ public class NereidsPlanner extends Planner {
                 plan += "\n\n\n========== STATISTICS ==========\n";
                 if (statementContext != null) {
                     if (statementContext.isHasUnknownColStats()) {
-                        plan += "planed with unknown column statistics\n";
+                        plan += "planned with unknown column statistics\n";
                     }
                 }
         }
diff --git 
a/regression-test/suites/nereids_p0/stats/col_stats/column_stats.groovy 
b/regression-test/suites/nereids_p0/stats/col_stats/column_stats.groovy
index d69601ec8f4..225b40d2c57 100644
--- a/regression-test/suites/nereids_p0/stats/col_stats/column_stats.groovy
+++ b/regression-test/suites/nereids_p0/stats/col_stats/column_stats.groovy
@@ -62,44 +62,44 @@ suite("column_stats") {
 
     explain {
         sql "select * from region"
-        notContains("planed with unknown column statistics")
+        notContains("planned with unknown column statistics")
     }
 
     explain {
         sql "select * from region where r_regionkey=1"
-        contains("planed with unknown column statistics")
+        contains("planned with unknown column statistics")
     }
 
     explain {
         sql "select r_regionkey from region group by r_regionkey"
-        contains("planed with unknown column statistics")
+        contains("planned with unknown column statistics")
     }
 
     explain {
         sql "select r_regionkey from region join nation on 
r_regionkey=n_regionkey"
-        contains("planed with unknown column statistics")
+        contains("planned with unknown column statistics")
     }
 
     sql "alter table region modify column r_regionkey set stats ('ndv'='5', 
'num_nulls'='0', 'min_value'='0', 'max_value'='4', 'row_count'='5');"
     
     explain {
         sql "select * from region where r_regionkey=1"
-        notContains("planed with unknown column statistics")
+        notContains("planned with unknown column statistics")
     }
 
     explain {
         sql "select r_regionkey from region group by r_regionkey"
-        notContains("planed with unknown column statistics")
+        notContains("planned with unknown column statistics")
     }
 
     explain {
         sql "select r_regionkey from region join nation on 
r_regionkey=n_regionkey"
-        notContains("planed with unknown column statistics")
+        notContains("planned with unknown column statistics")
     }
 
     explain {
         sql "select r_name from region join nation on r_regionkey=n_regionkey"
-        notContains("planed with unknown column statistics")
+        notContains("planned with unknown column statistics")
     }
 
     explain {
@@ -107,6 +107,6 @@ suite("column_stats") {
             select r_name 
             from (select r_name, r_regionkey + 1 x from region) T join nation 
on T.x=n_regionkey
             """
-        notContains("planed with unknown column statistics")
+        notContains("planned with unknown column statistics")
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to