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

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


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 16071a5ea35 branch-3.0: [fix](test) Force enable light schema change 
for check before quit #49301 (#49339)
16071a5ea35 is described below

commit 16071a5ea35d004b62dfe6a36d17e2bffade8224
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Mar 22 16:58:45 2025 +0800

    branch-3.0: [fix](test) Force enable light schema change for check before 
quit #49301 (#49339)
    
    Cherry-picked from #49301
    
    Co-authored-by: Uniqueyou <wangyix...@selectdb.com>
---
 regression-test/suites/check_before_quit/check_before_quit.groovy | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/regression-test/suites/check_before_quit/check_before_quit.groovy 
b/regression-test/suites/check_before_quit/check_before_quit.groovy
index 33dd4bf1ec5..caa3f7bf245 100644
--- a/regression-test/suites/check_before_quit/check_before_quit.groovy
+++ b/regression-test/suites/check_before_quit/check_before_quit.groovy
@@ -244,6 +244,10 @@ suite("check_before_quit", "nonConcurrent,p0") {
             def tbl = allTables[j][0]
             def createTableSql = ""
             try {
+                createTableSql = sql "show create table ${db}.${tbl}"
+                if (createTableSql[0][1].contains("CREATE TABLE")) {
+                    sql " ALTER TABLE ${db}.${tbl} SET 
(\"light_schema_change\" = \"true\") "
+                }
                 createTableSql = sql "show create table ${db}.${tbl}"
                 logger.info("create table sql: ${createTableSql}")
             } catch (Exception e) {


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

Reply via email to