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

eldenmoon 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 b1700b9ad0a [regression-test](fix) schema change case bug (#46782)
b1700b9ad0a is described below

commit b1700b9ad0a60675f45ada0c1be64afb1d446e07
Author: shuke <sh...@selectdb.com>
AuthorDate: Sat Jan 11 10:52:13 2025 +0800

    [regression-test](fix) schema change case bug (#46782)
---
 .../modify_col_type_agg/schema_change_modify_mv_column_type_agg.out     | 2 +-
 .../modify_col_type_dup/schema_change_modify_mv_column_type.out         | 2 +-
 .../modify_col_type_dup2/schema_change_modify_mv_column_type2.out       | 2 +-
 .../modify_col_type_agg/schema_change_modify_mv_column_type_agg.groovy  | 2 +-
 .../modify_col_type_dup/schema_change_modify_mv_column_type.groovy      | 2 +-
 .../modify_col_type_dup2/schema_change_modify_mv_column_type2.groovy    | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/regression-test/data/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.out
 
b/regression-test/data/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.out
index c86341a5686..b1feac9a13a 100644
--- 
a/regression-test/data/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.out
+++ 
b/regression-test/data/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.out
@@ -28,7 +28,7 @@ mv_tbl_scalar_types_agg_1     AGG_KEYS        mv_k2   bigint  
bigint  Yes     true    \N              true    `k2`
 
 -- !sql --
 
--- !sql --
+-- !master_sql --
 tbl_scalar_types_agg   AGG_KEYS        k1      bigint  bigint  Yes     true    
\N              true            
                k2      bigint  bigint  Yes     true    \N              true    
        
                c_bool  boolean boolean Yes     false   \N      REPLACE true    
        
diff --git 
a/regression-test/data/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.out
 
b/regression-test/data/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.out
index e7d4c675477..3503eca2085 100644
--- 
a/regression-test/data/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.out
+++ 
b/regression-test/data/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.out
@@ -62,7 +62,7 @@ mv_tbl_scalar_types_dup_1     DUP_KEYS        mv_c_tinyint    
tinyint tinyint Yes     true    \N              tru
 -2106969609    true    10      29572   16738   1736115820      -957295886      
-13319.206      -1.333603562816737E9    91224478600376111.942   
69457425159617037.453   2022-09-06      2022-05-08T19:52:36     2022-04-05      
2022-08-17T19:23:31     222.79.139.99   walter...@voomm.net     Oxford Alley 77
 -2102307005    true    10      -23674  24613   -1810828490     -47095409       
-14686.167      2.072108685694799E9     39847820962230526.125   
584354832299375.156     2022-03-27      2022-02-11T13:46:06     2022-12-25      
2022-11-28T09:37:49     213.146.33.250  juliasimm...@zazio.info Eagle Crest 
Terrace 84
 
--- !sql --
+-- !master_sql --
 tbl_scalar_types_dup   DUP_KEYS        k1      bigint  bigint  Yes     true    
\N              true            
                c_bool  boolean boolean Yes     false   \N      NONE    true    
        
                c_tinyint       tinyint tinyint Yes     false   \N      NONE    
true            
diff --git 
a/regression-test/data/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.out
 
b/regression-test/data/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.out
index 5c0ee14eb32..024ed9d867e 100644
--- 
a/regression-test/data/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.out
+++ 
b/regression-test/data/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.out
@@ -1,5 +1,5 @@
 -- This file is automatically generated. You should know what you did if you 
want to edit this
--- !sql --
+-- !master_sql --
 tbl_scalar_types_dup   DUP_KEYS        k1      bigint  bigint  Yes     true    
\N              true            
                c_bool  boolean boolean Yes     false   \N      NONE    true    
        
                c_tinyint       tinyint tinyint Yes     false   \N      NONE    
true            
diff --git 
a/regression-test/suites/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.groovy
 
b/regression-test/suites/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.groovy
index c1613c69625..dd5cc5c47ee 100644
--- 
a/regression-test/suites/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.groovy
+++ 
b/regression-test/suites/schema_change_p0/modify_col_type_agg/schema_change_modify_mv_column_type_agg.groovy
@@ -92,6 +92,6 @@ suite("schema_change_modify_mv_column_type_agg") {
             }
         }
     }
-    qt_sql """ desc ${testTable} all """
+    qt_master_sql """ desc ${testTable} all """
     sql "INSERT INTO ${testTable} SELECT * from ${testTable}"
 }
diff --git 
a/regression-test/suites/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.groovy
 
b/regression-test/suites/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.groovy
index 3ea57fefff5..92c3870c563 100644
--- 
a/regression-test/suites/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.groovy
+++ 
b/regression-test/suites/schema_change_p0/modify_col_type_dup/schema_change_modify_mv_column_type.groovy
@@ -95,6 +95,6 @@ suite("schema_change_modify_mv_column_type") {
     }
     // sync materialized view rewrite will fail when schema change, tmp 
disable, enable when fixed
     sql """set enable_dml_materialized_view_rewrite = false;"""
-    qt_sql """ desc ${testTable} all """
+    qt_master_sql """ desc ${testTable} all """
     sql "INSERT INTO ${testTable} SELECT * from ${testTable}"
 }
diff --git 
a/regression-test/suites/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.groovy
 
b/regression-test/suites/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.groovy
index c2f7caa1af4..2f475992b49 100644
--- 
a/regression-test/suites/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.groovy
+++ 
b/regression-test/suites/schema_change_p0/modify_col_type_dup2/schema_change_modify_mv_column_type2.groovy
@@ -69,7 +69,7 @@ suite("schema_change_modify_mv_column_type2") {
         }
     }
     createMV ("""CREATE MATERIALIZED VIEW mv_${testTable}_2 AS SELECT k1, 
sum(c_int), max(c_int), min(c_int) FROM ${testTable} GROUP BY k1""")
-    qt_sql """ desc ${testTable} all """
+    qt_master_sql """ desc ${testTable} all """
     sql "set topn_opt_limit_threshold = 100"
     qt_sql "SELECT * from ${testTable} order by 1, 2, 3 limit 10"
     qt_sql "SELECT * from ${testTable} where c_tinyint = 10 order by 1, 2, 3 
limit 10 "


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to