From 4339a2fbb081d813d625824410c2f7e73575926c Mon Sep 17 00:00:00 2001 From: qiye Date: Mon, 15 Jul 2024 22:13:39 +0800 Subject: [PATCH 1/8] [fix](build index)Remove index_meta in tablet schema when the index is dropped. (#37646) ## Proposed changes Issue Number: close #37645 --- be/src/olap/task/index_builder.cpp | 22 ++++ ..._builder_drop_index_fault_injection.groovy | 107 ++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy diff --git a/be/src/olap/task/index_builder.cpp b/be/src/olap/task/index_builder.cpp index 2ba75c04a3555f..e4a3332ad173cd 100644 --- a/be/src/olap/task/index_builder.cpp +++ b/be/src/olap/task/index_builder.cpp @@ -18,6 +18,7 @@ #include "olap/task/index_builder.h" #include "common/status.h" +#include "gutil/integral_types.h" #include "olap/olap_define.h" #include "olap/rowset/beta_rowset.h" #include "olap/rowset/rowset_writer_context.h" @@ -124,7 +125,28 @@ Status IndexBuilder::update_inverted_index_info() { } } _dropped_inverted_indexes.push_back(*index_meta); + // ATTN: DO NOT REMOVE INDEX AFTER OUTPUT_ROWSET_WRITER CREATED. + // remove dropped index_meta from output rowset tablet schema + output_rs_tablet_schema->remove_index(index_meta->index_id()); } + DBUG_EXECUTE_IF("index_builder.update_inverted_index_info.drop_index", { + auto indexes_count = DebugPoints::instance()->get_debug_param_or_default( + "index_builder.update_inverted_index_info.drop_index", "indexes_count", 0); + if (indexes_count < 0) { + return Status::Error( + "indexes count cannot be negative"); + } + int32_t indexes_size = 0; + for (auto index : output_rs_tablet_schema->indexes()) { + if (index.index_type() == IndexType::INVERTED) { + indexes_size++; + } + } + if (indexes_count != indexes_size) { + return Status::Error( + "indexes count not equal to expected"); + } + }) } else { // base on input rowset's tablet_schema to build // output rowset's tablet_schema which only add diff --git a/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy b/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy new file mode 100644 index 00000000000000..e4a620aa9d1f69 --- /dev/null +++ b/regression-test/suites/fault_injection_p0/test_index_builder_drop_index_fault_injection.groovy @@ -0,0 +1,107 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +import org.codehaus.groovy.runtime.IOGroovyMethods + +suite("test_index_builder_drop_index_fault_injection", "nonConcurrent") { + def runTest = { indexTbName -> + sql """ insert into ${indexTbName} values(1, "json love anny", "json", "anny",1); """ + sql "sync" + + def show_result = sql_return_maparray "show index from ${indexTbName}" + logger.info("show index from " + indexTbName + " result: " + show_result) + assertEquals(show_result.size(), 4) + assertEquals(show_result[0].Key_name, "index_int") + assertEquals(show_result[1].Key_name, "index_str_k2") + assertEquals(show_result[2].Key_name, "index_str_k4") + assertEquals(show_result[3].Key_name, "index_k5") + + try { + GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 3]) + sql "DROP INDEX index_int ON ${indexTbName}" + show_result = sql_return_maparray "show index from ${indexTbName}" + logger.info("show index from " + indexTbName + " result: " + show_result) + assertEquals(show_result.size(), 3) + assertEquals(show_result[0].Key_name, "index_str_k2") + assertEquals(show_result[1].Key_name, "index_str_k4") + assertEquals(show_result[2].Key_name, "index_k5") + } finally { + GetDebugPoint().disableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index") + } + + try { + GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 2]) + sql "DROP INDEX index_str_k2 ON ${indexTbName}" + show_result = sql_return_maparray "show index from ${indexTbName}" + logger.info("show index from " + indexTbName + " result: " + show_result) + assertEquals(show_result.size(), 2) + assertEquals(show_result[0].Key_name, "index_str_k4") + assertEquals(show_result[1].Key_name, "index_k5") + } finally { + GetDebugPoint().disableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index") + } + + try { + GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 1]) + sql "DROP INDEX index_str_k4 ON ${indexTbName}" + show_result = sql_return_maparray "show index from ${indexTbName}" + logger.info("show index from " + indexTbName + " result: " + show_result) + assertEquals(show_result.size(), 1) + assertEquals(show_result[0].Key_name, "index_k5") + } finally { + GetDebugPoint().disableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index") + } + + try { + GetDebugPoint().enableDebugPointForAllBEs("segment_iterator._read_columns_by_index", [indexes_count: 0]) + sql "DROP INDEX index_k5 ON ${indexTbName}" + show_result = sql_return_maparray "show index from ${indexTbName}" + logger.info("show index from " + indexTbName + " result: " + show_result) + assertEquals(show_result.size(), 0) + } finally { + GetDebugPoint().disableDebugPointForAllBEs("index_builder.update_inverted_index_info.drop_index") + } + } + + def createTestTable = { version -> + def indexTbName = "test_index_builder_drop_index_fault_injection_${version}" + + sql "DROP TABLE IF EXISTS ${indexTbName}" + sql """ + CREATE TABLE ${indexTbName} + ( + k1 int , + k2 string, + k3 char(50), + k4 varchar(200), + k5 int, + index index_int (k1) using inverted, + index index_str_k2 (k2) using inverted properties("parser"="english","ignore_above"="257"), + index index_str_k4 (k4) using inverted, + index index_k5 (k5) using inverted + ) + DISTRIBUTED BY RANDOM BUCKETS 10 + PROPERTIES("replication_num" = "1","inverted_index_storage_format"="${version}"); + """ + + runTest(indexTbName) + } + + createTestTable("v1") + createTestTable("v2") + +} \ No newline at end of file From bda3d12f3eda3154b2255c51bff9cb1d419a29d4 Mon Sep 17 00:00:00 2001 From: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com> Date: Mon, 15 Jul 2024 22:34:36 +0800 Subject: [PATCH 2/8] [chore](test) adjust timeout for some cases (#37743) --- .../load_p0/broker_load/test_etl_failed.groovy | 1 + .../test_load_block_to_single_tablet.groovy | 2 +- .../stream_load/test_load_to_single_tablet.groovy | 12 ++++++------ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/regression-test/suites/load_p0/broker_load/test_etl_failed.groovy b/regression-test/suites/load_p0/broker_load/test_etl_failed.groovy index 30da06c2c987cb..4049fdadb1f1f8 100644 --- a/regression-test/suites/load_p0/broker_load/test_etl_failed.groovy +++ b/regression-test/suites/load_p0/broker_load/test_etl_failed.groovy @@ -61,6 +61,7 @@ suite("test_etl_failed", "load_p0") { def max_try_milli_secs = 600000 while (max_try_milli_secs > 0) { String[][] result = sql """ show load where label="$label" order by createtime desc limit 1; """ + logger.info("Load result: " + result[0]) if (result[0][2].equals("FINISHED")) { logger.info("Load FINISHED " + label) assertTrue(1 == 2, "etl should be failed") diff --git a/regression-test/suites/load_p0/stream_load/test_load_block_to_single_tablet.groovy b/regression-test/suites/load_p0/stream_load/test_load_block_to_single_tablet.groovy index 955bdf681af184..2a713826bc394d 100644 --- a/regression-test/suites/load_p0/stream_load/test_load_block_to_single_tablet.groovy +++ b/regression-test/suites/load_p0/stream_load/test_load_block_to_single_tablet.groovy @@ -49,7 +49,7 @@ suite("test_load_block_to_single_tablet", "p0") { set 'partitions', 'p202403, p202404' file 'test_load_block_to_single_tablet.csv' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" diff --git a/regression-test/suites/load_p0/stream_load/test_load_to_single_tablet.groovy b/regression-test/suites/load_p0/stream_load/test_load_to_single_tablet.groovy index 02f64900326165..2c69247db300ce 100644 --- a/regression-test/suites/load_p0/stream_load/test_load_to_single_tablet.groovy +++ b/regression-test/suites/load_p0/stream_load/test_load_to_single_tablet.groovy @@ -49,7 +49,7 @@ suite("test_load_to_single_tablet", "p0") { set 'load_to_single_tablet', 'true' file 'test_load_to_single_tablet.json' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" @@ -89,7 +89,7 @@ suite("test_load_to_single_tablet", "p0") { set 'load_to_single_tablet', 'true' file 'test_load_to_single_tablet.json' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" totalCount = sql "select count() from ${tableName}" @@ -116,7 +116,7 @@ suite("test_load_to_single_tablet", "p0") { set 'load_to_single_tablet', 'true' file 'test_load_to_single_tablet.json' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" totalCount = sql "select count() from ${tableName}" @@ -169,7 +169,7 @@ suite("test_load_to_single_tablet", "p0") { set 'load_to_single_tablet', 'true' file 'test_load_to_single_tablet.json' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" @@ -220,7 +220,7 @@ suite("test_load_to_single_tablet", "p0") { set 'load_to_single_tablet', 'true' file 'test_load_to_single_tablet.json' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" totalCount = sql "select count() from ${tableName}" @@ -255,7 +255,7 @@ suite("test_load_to_single_tablet", "p0") { set 'load_to_single_tablet', 'true' file 'test_load_to_single_tablet.json' - time 10000 // limit inflight 10s + time 20000 // limit inflight 10s } sql "sync" totalCount = sql "select count() from ${tableName}" From 8d249a2562b15825a06a53a5a530a532a0ca2454 Mon Sep 17 00:00:00 2001 From: Calvin Kirs Date: Mon, 15 Jul 2024 23:06:11 +0800 Subject: [PATCH 3/8] [improve](test)Using Awaitility instead of Thread.sleep (#37812) ## Proposed changes Awaitility: Waits until a specific condition is met, which makes the tests more reliable and less prone to intermittent failures. It ensures that the test only proceeds when the expected condition is true. Thread.sleep: Introduces a fixed delay, which can lead to flaky tests. If the condition is met sooner than the sleep time, the test unnecessarily waits. Conversely, if the condition is met after the sleep time, the test will fail. --- regression-test/framework/pom.xml | 8 ++++ .../suites/job_p0/test_base_insert_job.groovy | 46 ++++++++++++++----- 2 files changed, 43 insertions(+), 11 deletions(-) diff --git a/regression-test/framework/pom.xml b/regression-test/framework/pom.xml index f50e0fa7cfc882..f70b4fdb2afb4d 100644 --- a/regression-test/framework/pom.xml +++ b/regression-test/framework/pom.xml @@ -401,5 +401,13 @@ under the License. netty-all 4.1.104.Final + + org.awaitility + awaitility + 4.2.1 + + compile + + diff --git a/regression-test/suites/job_p0/test_base_insert_job.groovy b/regression-test/suites/job_p0/test_base_insert_job.groovy index d66266d8d6f623..aad7edc04e580d 100644 --- a/regression-test/suites/job_p0/test_base_insert_job.groovy +++ b/regression-test/suites/job_p0/test_base_insert_job.groovy @@ -19,6 +19,8 @@ import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.time.Instant; import java.time.ZoneId; +import org.awaitility.Awaitility; +import static java.util.concurrent.TimeUnit.SECONDS; suite("test_base_insert_job") { def tableName = "t_test_BASE_inSert_job" @@ -70,7 +72,14 @@ suite("test_base_insert_job") { sql """ CREATE JOB ${jobName} ON SCHEDULE every 1 second comment 'test' DO insert into ${tableName} (timestamp, type, user_id) values ('2023-03-18','1','12213'); """ - Thread.sleep(2500) + Awaitility.await().atMost(30, SECONDS).until( + { + def onceJob = sql """ select SucceedTaskCount from jobs("type"="insert") where Name like '%${jobName}%' and ExecuteType='RECURRING' """ + println(onceJob) + onceJob .size() == 1 && '1' <= onceJob.get(0).get(0) + + } + ) sql """ PAUSE JOB where jobname = '${jobName}' """ @@ -116,8 +125,13 @@ suite("test_base_insert_job") { sql """ CREATE JOB ${jobName} ON SCHEDULE at current_timestamp comment 'test for test&68686781jbjbhj//ncsa' DO insert into ${tableName} values ('2023-07-19', 2, 1001); """ - - Thread.sleep(2000) + + Awaitility.await("create-one-time-job-test").atMost(30,SECONDS).until( + { + def onceJob = sql """ select SucceedTaskCount from jobs("type"="insert") where Name like '%${jobName}%' and ExecuteType='ONE_TIME' """ + onceJob.size() == 1 && '1' == onceJob.get(0).get(0) + } + ) def onceJob = sql """ select SucceedTaskCount from jobs("type"="insert") where Name like '%${jobName}%' and ExecuteType='ONE_TIME' """ assert onceJob.size() == 1 //check succeed task count @@ -142,9 +156,12 @@ suite("test_base_insert_job") { sql """ CREATE JOB press ON SCHEDULE every 10 hour starts CURRENT_TIMESTAMP comment 'test for test&68686781jbjbhj//ncsa' DO insert into ${tableName} values ('2023-07-19', 99, 99); """ - Thread.sleep(5000) - def pressJob = sql """ select * from jobs("type"="insert") where name='press' """ - println pressJob + Awaitility.await("create-immediately-job-test").atMost(60, SECONDS).until({ + def pressJob = sql """ select SucceedTaskCount from jobs("type"="insert") where name='press'""" + println pressJob + pressJob.size() == 1 && '1' == onceJob.get(0).get(0) + }) + sql """ DROP JOB IF EXISTS where jobname = 'past_start_time' """ @@ -167,7 +184,11 @@ suite("test_base_insert_job") { CREATE JOB ${jobName} ON SCHEDULE every 1 second starts current_timestamp comment 'test for test&68686781jbjbhj//ncsa' DO insert into ${tableName} values ('2023-07-19',5, 1001); """ - Thread.sleep(2000) + Awaitility.await("create-job-test").atMost(60, SECONDS).until({ + def job = sql """ select SucceedTaskCount from jobs("type"="insert") where name='${jobName}'""" + println job + job.size() == 1 && '1' == job.get(0).get(0) + }) sql """ PAUSE JOB where jobname = '${jobName}' @@ -176,10 +197,13 @@ suite("test_base_insert_job") { sql """ RESUME JOB where jobname = '${jobName}' """ - Thread.sleep(2500) - def afterResumeTasks = sql """ select status from tasks("type"="insert") where JobName= '${jobName}' """ - println afterResumeTasks - assert afterResumeTasks.size() >tasks.size + println(tasks.size()) + Awaitility.await("resume-job-test").atMost(60, SECONDS).until({ + def afterResumeTasks = sql """ select status from tasks("type"="insert") where JobName= '${jobName}' """ + println "resume tasks :"+afterResumeTasks + afterResumeTasks.size() >tasks.size() + }) + // assert same job name try { sql """ From c950727cf052659605c1ff7f54b8e9de3206e1e9 Mon Sep 17 00:00:00 2001 From: Yongqiang YANG <98214048+dataroaring@users.noreply.github.com> Date: Tue, 16 Jul 2024 02:01:50 +0800 Subject: [PATCH 4/8] [chore](test) enlarge timeout of mv creating (#37852) --- .../regression/action/CreateMVAction.groovy | 2 +- .../test_alter_table_column.groovy | 10 +- .../test_dup_schema_key_add.groovy | 36 +- .../test_dup_schema_key_change_modify.groovy | 110 +++--- .../test_dup_schema_key_change_modify1.groovy | 274 +++++++-------- .../test_dup_schema_key_drop.groovy | 24 +- .../test_dup_schema_value_add.groovy | 40 +-- .../test_dup_schema_value_drop.groovy | 42 +-- .../test_dup_schema_value_modify.groovy | 136 ++++---- .../test_dup_schema_value_modify1.groovy | 230 ++++++------- .../test_dup_schema_value_modify2.groovy | 90 ++--- .../test_dup_schema_value_modify3.groovy | 120 +++---- .../test_dup_schema_value_modify4.groovy | 120 +++---- .../test_schema_change_agg.groovy | 8 +- ...t_schema_change_agg_check_all_types.groovy | 30 +- .../test_unique_schema_key_change_add.groovy | 36 +- .../test_unique_schema_key_change_drop.groovy | 26 +- ...est_unique_schema_key_change_modify.groovy | 320 +++++++++--------- .../test_unique_schema_value_add.groovy | 36 +- .../test_unique_schema_value_drop.groovy | 38 +-- .../test_unique_schema_value_modify.groovy | 238 ++++++------- .../test_unique_schema_value_modify1.groovy | 128 +++---- .../test_unique_schema_value_modify2.groovy | 90 ++--- .../test_unique_schema_value_modify3.groovy | 56 +-- 24 files changed, 1120 insertions(+), 1120 deletions(-) diff --git a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy index 0319158cd17954..45850ce1d2e987 100644 --- a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy +++ b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy @@ -63,7 +63,7 @@ class CreateMVAction implements SuiteAction { def tmp = doRun("SHOW ALTER TABLE MATERIALIZED VIEW ORDER BY CreateTime DESC LIMIT 1;") sqlResult = tmp.result[0] log.info("result: ${sqlResult}".toString()) - if (tryTimes == 120 || sqlResult.contains("CANCELLED")) { + if (tryTimes == 600 || sqlResult.contains("CANCELLED")) { throw new IllegalStateException("MV create check times over limit, result='${sqlResult}'"); } Thread.sleep(1200) diff --git a/regression-test/suites/schema_change_p0/test_alter_table_column.groovy b/regression-test/suites/schema_change_p0/test_alter_table_column.groovy index 07d81434c83c5d..a90a86ba872c3f 100644 --- a/regression-test/suites/schema_change_p0/test_alter_table_column.groovy +++ b/regression-test/suites/schema_change_p0/test_alter_table_column.groovy @@ -43,7 +43,7 @@ suite("test_alter_table_column") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tbName1}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } sql """ @@ -54,7 +54,7 @@ suite("test_alter_table_column") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tbName1}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } sql "SHOW ALTER TABLE COLUMN;" @@ -82,7 +82,7 @@ suite("test_alter_table_column") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tbName2}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } sql "SHOW ALTER TABLE COLUMN" @@ -117,7 +117,7 @@ suite("test_alter_table_column") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tbNameAddArray}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } qt_sql "desc ${tbNameAddArray};" qt_sql "select * from ${tbNameAddArray} order by k1;" @@ -199,7 +199,7 @@ suite("test_alter_table_column") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tbName3}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } def res3 = sql "select * from ${tbName3} order by k1" diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_key_add.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_key_add.groovy index 936767c4cac939..8641aaea3eadaf 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_key_add.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_key_add.groovy @@ -57,7 +57,7 @@ suite("test_dup_schema_key_add","p0") { sql """ alter table ${tbName1} add column province VARCHAR(20) KEY DEFAULT "广东省" AFTER username """ waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -100,7 +100,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -144,7 +144,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -189,7 +189,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 567, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -233,7 +233,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 22536, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -278,7 +278,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 88889494646, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -324,7 +324,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 555888555, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -372,7 +372,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 189.9, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -388,7 +388,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 189.479, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -403,7 +403,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 16499.6464689, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") @@ -416,7 +416,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', \"2024-01-01\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -460,7 +460,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', \"2024-01-04 09:00:00\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -504,7 +504,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 'T', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -551,7 +551,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '我是侦探家', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}")},errorMessage) @@ -565,7 +565,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', to_bitmap(243), 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -581,7 +581,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -595,7 +595,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '{\"k1\":\"v31\", \"k2\": 300}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -609,7 +609,7 @@ suite("test_dup_schema_key_add","p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '{\"k1\":\"v31\", \"k2\": 300}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify.groovy index 30973689f1dd3f..76f67820afb0c2 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify.groovy @@ -62,7 +62,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -76,7 +76,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -90,7 +90,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -105,7 +105,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -120,7 +120,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -135,7 +135,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -149,7 +149,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -163,7 +163,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -177,7 +177,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -221,7 +221,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -234,7 +234,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -247,7 +247,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -290,7 +290,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -335,7 +335,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -381,7 +381,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -395,7 +395,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -410,7 +410,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -424,7 +424,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'char', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -436,7 +436,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'varchar', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -449,7 +449,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -494,7 +494,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -510,7 +510,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -523,7 +523,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -534,7 +534,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -578,7 +578,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -623,7 +623,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -637,7 +637,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -652,7 +652,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -666,7 +666,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'casd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -678,7 +678,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'vasd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -691,7 +691,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -735,7 +735,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -749,7 +749,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -763,7 +763,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -774,7 +774,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -785,7 +785,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -830,7 +830,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -844,7 +844,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -858,7 +858,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -872,7 +872,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'casd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -884,7 +884,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'vasd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -897,7 +897,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'v1asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -910,7 +910,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -955,7 +955,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -969,7 +969,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -983,7 +983,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -997,7 +997,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1009,7 +1009,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -1022,7 +1022,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1036,7 +1036,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1050,7 +1050,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1064,7 +1064,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'casd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1076,7 +1076,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'vasd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName1} """ @@ -1089,7 +1089,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'v1asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1102,7 +1102,7 @@ suite("test_dup_schema_key_change_modify","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify1.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify1.groovy index 3f6a3def1f5210..ecce4c04f6ea7d 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify1.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_key_change_modify1.groovy @@ -91,7 +91,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -105,7 +105,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -119,7 +119,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -133,7 +133,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -147,7 +147,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -160,7 +160,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -174,7 +174,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -188,7 +188,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -202,7 +202,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -214,7 +214,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'vasd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -261,7 +261,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -275,7 +275,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -318,7 +318,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -332,7 +332,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -346,7 +346,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -360,7 +360,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -374,7 +374,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -387,7 +387,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -401,7 +401,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -415,7 +415,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -429,7 +429,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -443,7 +443,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -457,7 +457,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -501,7 +501,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -515,7 +515,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -529,7 +529,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -543,7 +543,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -557,7 +557,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -570,7 +570,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -584,7 +584,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -598,7 +598,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -612,7 +612,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -626,7 +626,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -639,7 +639,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -682,7 +682,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -696,7 +696,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -710,7 +710,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -724,7 +724,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -738,7 +738,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -751,7 +751,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -765,7 +765,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -779,7 +779,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -793,7 +793,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -804,7 +804,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -849,7 +849,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -896,7 +896,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -909,7 +909,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -922,7 +922,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -936,7 +936,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -951,7 +951,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -966,7 +966,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -981,7 +981,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -995,7 +995,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1009,7 +1009,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1023,7 +1023,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1070,7 +1070,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1083,7 +1083,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1096,7 +1096,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1110,7 +1110,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1125,7 +1125,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1140,7 +1140,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1155,7 +1155,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1169,7 +1169,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1183,7 +1183,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1197,7 +1197,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1244,7 +1244,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1257,7 +1257,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1270,7 +1270,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1284,7 +1284,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1299,7 +1299,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1314,7 +1314,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1329,7 +1329,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1343,7 +1343,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1357,7 +1357,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1371,7 +1371,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1417,7 +1417,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1430,7 +1430,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1443,7 +1443,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1457,7 +1457,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1472,7 +1472,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1487,7 +1487,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1502,7 +1502,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1516,7 +1516,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1530,7 +1530,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1544,7 +1544,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1593,7 +1593,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1606,7 +1606,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1619,7 +1619,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1633,7 +1633,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1649,7 +1649,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1664,7 +1664,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1679,7 +1679,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1693,7 +1693,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1707,7 +1707,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1721,7 +1721,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1735,7 +1735,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1750,7 +1750,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1765,7 +1765,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1779,7 +1779,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1793,7 +1793,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1807,7 +1807,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1855,7 +1855,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1868,7 +1868,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1881,7 +1881,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1895,7 +1895,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1911,7 +1911,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1926,7 +1926,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1941,7 +1941,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1955,7 +1955,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1969,7 +1969,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1983,7 +1983,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -1997,7 +1997,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2012,7 +2012,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2027,7 +2027,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2041,7 +2041,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2055,7 +2055,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2069,7 +2069,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2116,7 +2116,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2129,7 +2129,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2142,7 +2142,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2156,7 +2156,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2171,7 +2171,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2186,7 +2186,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2201,7 +2201,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2215,7 +2215,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2229,7 +2229,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2243,7 +2243,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2288,7 +2288,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2301,7 +2301,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2314,7 +2314,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2328,7 +2328,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2343,7 +2343,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2358,7 +2358,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2373,7 +2373,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2387,7 +2387,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2401,7 +2401,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -2415,7 +2415,7 @@ suite("test_dup_schema_key_change_modify1","p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_key_drop.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_key_drop.groovy index 8531c0a2d7d0e9..26006e89196e40 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_key_drop.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_key_drop.groovy @@ -67,7 +67,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -113,7 +113,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -159,7 +159,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -206,7 +206,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -251,7 +251,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -296,7 +296,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -342,7 +342,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -387,7 +387,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -431,7 +431,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -476,7 +476,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -521,7 +521,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -567,7 +567,7 @@ suite("test_dup_schema_key_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_add.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_add.groovy index 6dea3046dd7605..1306d9c66da124 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_add.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_add.groovy @@ -55,7 +55,7 @@ suite("test_dup_schema_value_add", "p0") { def insertSql = "insert into ${tbName1} values(923456689, 'Alice', '四川省', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -99,7 +99,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -141,7 +141,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -184,7 +184,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 567, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -228,7 +228,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 22536, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -270,7 +270,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 88889494646, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -313,7 +313,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 555888555, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -358,7 +358,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 189.98, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -370,7 +370,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 189.479, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -413,7 +413,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 16499.6464689, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -457,7 +457,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', \"2024-01-01\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -500,7 +500,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', \"2024-01-04 09:00:00\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -544,7 +544,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', 'T', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -588,7 +588,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '我是侦探家', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -633,7 +633,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '2', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -647,7 +647,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', to_bitmap(243), 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -660,7 +660,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -703,7 +703,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', '{\"k1\":\"v31\", \"k2\": 300}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -747,7 +747,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', [6,7,8], 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -793,7 +793,7 @@ suite("test_dup_schema_value_add", "p0") { insertSql = " insert into ${tbName1} values(923456689, 'Alice', [6,7,8], 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_drop.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_drop.groovy index 335a8e95212d6e..842f26929fe37c 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_drop.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_drop.groovy @@ -71,7 +71,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -121,7 +121,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -171,7 +171,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -221,7 +221,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -271,7 +271,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -321,7 +321,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -371,7 +371,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -421,7 +421,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -471,7 +471,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -521,7 +521,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -571,7 +571,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -621,7 +621,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -671,7 +671,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -721,7 +721,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -771,7 +771,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -821,7 +821,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 100, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -893,7 +893,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 678.90, 6789.0123456789); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -930,7 +930,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 678.9012345678, 6789.0123456789); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -967,7 +967,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, 678.9012345678, 678.90); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1023,7 +1023,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, struct(6, 'sn6', 'sa6')); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1061,7 +1061,7 @@ suite("test_dup_schema_value_drop", "p0") { insertSql = "insert into ${tbName1} values(6, struct(6, 'sn6', 'sa6')); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify.groovy index aa04cca0141141..34e4617637eb00 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify.groovy @@ -63,7 +63,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -77,7 +77,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -91,7 +91,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -106,7 +106,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -121,7 +121,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -135,7 +135,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -149,7 +149,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -163,7 +163,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -177,7 +177,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -191,7 +191,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -237,7 +237,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -251,7 +251,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") @@ -264,7 +264,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") @@ -309,7 +309,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -354,7 +354,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -396,7 +396,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -438,7 +438,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -482,7 +482,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -496,7 +496,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") },errorMessage) @@ -510,7 +510,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName1}") @@ -524,7 +524,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -599,7 +599,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -613,7 +613,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -625,7 +625,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -669,7 +669,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -712,7 +712,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -755,7 +755,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -798,7 +798,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -844,7 +844,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -858,7 +858,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -870,7 +870,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -914,7 +914,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -990,7 +990,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1004,7 +1004,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1016,7 +1016,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1059,7 +1059,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1102,7 +1102,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1145,7 +1145,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1189,7 +1189,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1235,7 +1235,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1249,7 +1249,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1261,7 +1261,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1306,7 +1306,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1317,7 +1317,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1393,7 +1393,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1407,7 +1407,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1421,7 +1421,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -1435,7 +1435,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1446,7 +1446,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1489,7 +1489,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1533,7 +1533,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1579,7 +1579,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1593,7 +1593,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1605,7 +1605,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1651,7 +1651,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1663,7 +1663,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1738,7 +1738,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1752,7 +1752,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1766,7 +1766,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1779,7 +1779,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1792,7 +1792,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") },errorMessage) @@ -1804,7 +1804,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1848,7 +1848,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1893,7 +1893,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1906,7 +1906,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1918,7 +1918,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1965,7 +1965,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") },errorMessage) @@ -1977,7 +1977,7 @@ suite("test_dup_schema_value_modify","p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify1.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify1.groovy index e947e897252a71..9c4eed77ec47d2 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify1.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify1.groovy @@ -99,7 +99,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -113,7 +113,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -127,7 +127,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -141,7 +141,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -155,7 +155,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -168,7 +168,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -181,7 +181,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -228,7 +228,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -243,7 +243,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -257,7 +257,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -272,7 +272,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -286,7 +286,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -300,7 +300,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -312,7 +312,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") @@ -323,7 +323,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -372,7 +372,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -386,7 +386,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -431,7 +431,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -445,7 +445,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -459,7 +459,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -473,7 +473,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -487,7 +487,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -500,7 +500,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -514,7 +514,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -528,7 +528,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -543,7 +543,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -557,7 +557,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -572,7 +572,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -586,7 +586,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -600,7 +600,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -611,7 +611,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -657,7 +657,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -707,7 +707,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -721,7 +721,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -767,7 +767,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -781,7 +781,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -795,7 +795,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -809,7 +809,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -823,7 +823,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -836,7 +836,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -850,7 +850,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -862,7 +862,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") @@ -876,7 +876,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -890,7 +890,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -905,7 +905,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -919,7 +919,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -933,7 +933,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -944,7 +944,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -989,7 +989,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1038,7 +1038,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1052,7 +1052,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(993456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1100,7 +1100,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1114,7 +1114,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1128,7 +1128,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1142,7 +1142,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1156,7 +1156,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1169,7 +1169,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1183,7 +1183,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1197,7 +1197,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1212,7 +1212,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1225,7 +1225,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1272,7 +1272,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -1323,7 +1323,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1337,7 +1337,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1351,7 +1351,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1366,7 +1366,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1380,7 +1380,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1428,7 +1428,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1442,7 +1442,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1456,7 +1456,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1470,7 +1470,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1484,7 +1484,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1497,7 +1497,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1511,7 +1511,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1525,7 +1525,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1540,7 +1540,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1553,7 +1553,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1601,7 +1601,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1651,7 +1651,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1665,7 +1665,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1679,7 +1679,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1694,7 +1694,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1708,7 +1708,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1757,7 +1757,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1771,7 +1771,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1785,7 +1785,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1799,7 +1799,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1813,7 +1813,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1826,7 +1826,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1840,7 +1840,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1854,7 +1854,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1869,7 +1869,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1882,7 +1882,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1929,7 +1929,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1978,7 +1978,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1992,7 +1992,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2006,7 +2006,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2021,7 +2021,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2035,7 +2035,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2082,7 +2082,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2096,7 +2096,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2110,7 +2110,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2124,7 +2124,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2138,7 +2138,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2151,7 +2151,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2165,7 +2165,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2179,7 +2179,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2194,7 +2194,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2207,7 +2207,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -2255,7 +2255,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -2306,7 +2306,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2320,7 +2320,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2334,7 +2334,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2349,7 +2349,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -2363,7 +2363,7 @@ suite("test_dup_schema_value_modify1", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify2.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify2.groovy index 49046031b746cb..c687bb6b87f57b 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify2.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify2.groovy @@ -94,7 +94,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, false, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -122,7 +122,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 3, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -136,7 +136,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 23, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -151,7 +151,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 2423, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -165,7 +165,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 4561, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -179,7 +179,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 1.25, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -193,7 +193,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 56.98, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -208,7 +208,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -222,7 +222,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -237,7 +237,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -251,7 +251,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -264,7 +264,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan1', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -310,7 +310,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan2', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -362,7 +362,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.98, {'a': 100, 'b': 200}, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -376,7 +376,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, '{'a': 100, 'b': 200}', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -423,7 +423,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, false, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -451,7 +451,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 3, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -465,7 +465,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 23, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -480,7 +480,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 2423, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -494,7 +494,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 4561, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -508,7 +508,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 1.25, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -522,7 +522,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 56.98, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -537,7 +537,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -551,7 +551,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -566,7 +566,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -580,7 +580,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -595,7 +595,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan1', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -607,7 +607,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan2', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") @@ -659,7 +659,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.98, {'a': 100, 'b': 200}, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -673,7 +673,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, '{'a': 100, 'b': 200}', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -719,7 +719,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, false, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -747,7 +747,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 3, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -761,7 +761,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 23, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -776,7 +776,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 2423, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -790,7 +790,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 4561, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -804,7 +804,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 1.25, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -818,7 +818,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 56.98, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -833,7 +833,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -847,7 +847,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -862,7 +862,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -876,7 +876,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -891,7 +891,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan1', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -905,7 +905,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan2', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -920,7 +920,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.98, {'a': 100, 'b': 200}, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -934,7 +934,7 @@ suite("test_dup_schema_value_modify2", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, '{'a': 100, 'b': 200}', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify3.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify3.groovy index 3b1c0ec34e048c..f6dafb80aee6c0 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify3.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify3.groovy @@ -96,7 +96,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', false, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -124,7 +124,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 3, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -138,7 +138,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 23, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -153,7 +153,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 4564, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -167,7 +167,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 43643734, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -181,7 +181,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 5.6, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -195,7 +195,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 895.666, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -210,7 +210,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -224,7 +224,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -239,7 +239,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31 20:12:12', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -253,7 +253,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31 20:12:12', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -268,7 +268,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 'sdfghjk', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -281,7 +281,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 'wertyu', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -294,7 +294,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '{'a': 100, 'b': 200}', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -340,7 +340,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', , false); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -368,7 +368,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -382,7 +382,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 25); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -397,7 +397,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 32523); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -411,7 +411,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 356436); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -425,7 +425,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 86.5); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -439,7 +439,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 896.2356); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -454,7 +454,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -468,7 +468,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -483,7 +483,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31 20:12:12'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -497,7 +497,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31 20:12:12'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -512,7 +512,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 'erwtewxa'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -525,7 +525,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '36tgeryda'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -538,7 +538,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, {'a': 700, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -585,7 +585,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', false, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -613,7 +613,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 21, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -627,7 +627,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 25, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -642,7 +642,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 32454, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -656,7 +656,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 34235, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -670,7 +670,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 45,8, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -684,7 +684,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 677.908, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -699,7 +699,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-23', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -713,7 +713,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-23', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -728,7 +728,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-23 15:00:26', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -742,7 +742,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-26 15:54:21', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -757,7 +757,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 'wrwertew', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -770,7 +770,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 'eterytergfds', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -783,7 +783,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', {'a': 700, 'b':500}, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -796,7 +796,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', '[\"abc\", \"def\"]', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -810,7 +810,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', '[\"abc\", \"def\"]', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -858,7 +858,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', [6,7,8], false); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -886,7 +886,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -900,7 +900,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -915,7 +915,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 32454); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -929,7 +929,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 34235); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -943,7 +943,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 45.5); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -957,7 +957,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 677.908); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -972,7 +972,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-23'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -986,7 +986,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-23'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1001,7 +1001,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-23 15:00:26'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1015,7 +1015,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-26 15:54:21'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1030,7 +1030,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], "ertet"); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -1043,7 +1043,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], "wrwerew"); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -1056,7 +1056,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], {'a': 700, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1069,7 +1069,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', [6,7,8], '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1083,7 +1083,7 @@ suite("test_dup_schema_value_modify3", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', [6,7,8], {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify4.groovy b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify4.groovy index 0d53629f11c743..23ffe95f2de771 100644 --- a/regression-test/suites/schema_change_p0/test_dup_schema_value_modify4.groovy +++ b/regression-test/suites/schema_change_p0/test_dup_schema_value_modify4.groovy @@ -95,7 +95,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', false, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -123,7 +123,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 3, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -137,7 +137,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 23, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -152,7 +152,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 4564, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -166,7 +166,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 43643734, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -180,7 +180,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 5.6, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -194,7 +194,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 895.666, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -209,7 +209,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -223,7 +223,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -238,7 +238,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31 20:12:12', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -252,7 +252,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31 20:12:12', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -267,7 +267,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 'sdfghjk', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -280,7 +280,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 'wertyu', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -293,7 +293,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '{'a': 100, 'b': 200}', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -339,7 +339,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', , false); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -367,7 +367,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -381,7 +381,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 25); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -396,7 +396,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 32523); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -410,7 +410,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 356436); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -424,7 +424,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 86.5); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -438,7 +438,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 896.2356); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -453,7 +453,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -467,7 +467,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -482,7 +482,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31 20:12:12'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -496,7 +496,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31 20:12:12'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -511,7 +511,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 'erwtewxa'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -524,7 +524,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '36tgeryda'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -537,7 +537,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, {'a': 700, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -584,7 +584,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', false, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -612,7 +612,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 21, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -626,7 +626,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 25, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -641,7 +641,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 32454, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -655,7 +655,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 34235, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -669,7 +669,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 45,8, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -683,7 +683,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 677.908, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -698,7 +698,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-23', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -712,7 +712,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-23', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -727,7 +727,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-23 15:00:26', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -741,7 +741,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', '2023-10-26 15:54:21', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -756,7 +756,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 'wrwertew', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -769,7 +769,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', 'eterytergfds', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -782,7 +782,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', {'a': 700, 'b':500}, {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -795,7 +795,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', '[\"abc\", \"def\"]', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -809,7 +809,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', '[\"abc\", \"def\"]', {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -857,7 +857,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', [6,7,8], false); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -885,7 +885,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -899,7 +899,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -914,7 +914,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 32454); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -928,7 +928,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 34235); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -942,7 +942,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 45.5); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -956,7 +956,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], 677.908); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -971,7 +971,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-23'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -985,7 +985,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-23'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1000,7 +1000,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-23 15:00:26'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1014,7 +1014,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], '2023-10-26 15:54:21'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1029,7 +1029,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], "ertet"); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -1042,7 +1042,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], "wrwerew"); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName1}") }, errorMessage) @@ -1055,7 +1055,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\\\"abc\\\", \\\"def\\\"]', [6,7,8], {'a': 700, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1068,7 +1068,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', [6,7,8], '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) @@ -1082,7 +1082,7 @@ suite("test_dup_schema_value_modify4", "p0") { insertSql = "insert into ${tbName1} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '[\"abc\", \"def\"]', [6,7,8], {1, 'sn1', 'sa1'}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName1}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_schema_change_agg.groovy b/regression-test/suites/schema_change_p0/test_schema_change_agg.groovy index 905dd3f8c35674..0eb4f9c5dc7cdd 100644 --- a/regression-test/suites/schema_change_p0/test_schema_change_agg.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_change_agg.groovy @@ -76,7 +76,7 @@ suite("test_schema_change_agg", "p0") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } /* @@ -102,7 +102,7 @@ suite("test_schema_change_agg", "p0") { sql """ alter table ${tableName3} modify column k4 bigint(11) sum NULL""" waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } sql """ alter table ${tableName3} add column v14 int sum NOT NULL default "0" after k13 """ @@ -112,7 +112,7 @@ suite("test_schema_change_agg", "p0") { sql """ alter table ${tableName3} modify column v14 int sum NULL default "0" """ waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } sql """ alter table ${tableName3} drop column v14 """ @@ -136,7 +136,7 @@ suite("test_schema_change_agg", "p0") { waitForSchemaChangeDone { sql """SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1""" - time 60 + time 600 } sql """ insert into ${tableName3} values (10002, 2, 3, 4, 5, 6.6, 1.7, 8.81, diff --git a/regression-test/suites/schema_change_p0/test_schema_change_agg_check_all_types.groovy b/regression-test/suites/schema_change_p0/test_schema_change_agg_check_all_types.groovy index 1986bfcc78e09b..92daf1d830b162 100644 --- a/regression-test/suites/schema_change_p0/test_schema_change_agg_check_all_types.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_change_agg_check_all_types.groovy @@ -47,7 +47,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { sql """ alter table ${tableName3} modify column k2 smallint key NULL""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } @@ -61,7 +61,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { sql """ alter table ${tableName3} modify column k2 int key NULL""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10002, 2, 3, 4, 5, 6.6, 1.7, 8.8, @@ -74,7 +74,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10003, 2, 3, 4, 5, 6.6, 1.7, 8.8, @@ -87,7 +87,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10004, 2, 3, 4, 5, 6.6, 1.7, 8.8, @@ -100,13 +100,13 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ alter table ${tableName3} modify column k14 float replace not null default "0" after k13""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10005, 2, 3, 4, 5, 6.6, 1.7, 8.8, @@ -118,7 +118,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { sql """ alter table ${tableName3} modify column k14 double replace not null default "0" after k13""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10006, 2, 3, 4, 5, 6.6, 1.7, 8.8, @@ -131,7 +131,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { sql """ alter table ${tableName3} add column float1 float replace not null default "0" after k13""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10007, 2, 3, 4, 5, 6.6, 1.7, 8.8, 'a', 'b', 'c', '2021-10-30', '2021-10-30 00:00:00',1.11,1.21) """ @@ -142,7 +142,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10007, 2, 3, 4, 5, 6.6, 1.7, 8.8, 'a', 'b', 'c', '2021-10-30', '2021-10-30 00:00:00',1.11,'1.21') """ @@ -152,7 +152,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { sql """ alter table ${tableName3} modify column float1 float replace not null default "0" after k13""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } qt_varchar_to_float""" select * from ${tableName3} """ @@ -168,7 +168,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { sql """ alter table ${tableName3} add column tinyint1 tinyint replace not null default "0" after k13""" waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10007, 2, 3, 4, 5, 6.6, 1.7, 8.8, 'a', 'b', 'c', '2021-10-30', '2021-10-30 00:00:00',1.11,1.21,1) """ @@ -180,7 +180,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10008, 2, 3, 4, 5, 6.6, 1.7, 8.8, @@ -194,7 +194,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10009, 2, 3, 4, 5, 6.6, 1.7, 8.8, 'a', 'b', 'c', '2021-10-30', '2021-10-30 00:00:00',1.11,1.21,1) """ @@ -206,7 +206,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10010, 2, 3, 4, 5, 6.6, 1.7, 8.8, 'a', 'b', 'c', '2021-10-30', '2021-10-30 00:00:00',1.11,1.21,1) """ @@ -218,7 +218,7 @@ suite("test_schema_change_agg_check_all_types", "p0") { waitForSchemaChangeDone { sql """ SHOW ALTER TABLE COLUMN WHERE IndexName='${tableName3}' ORDER BY createtime DESC LIMIT 1 """ - time 60 + time 600 } sql """ insert into ${tableName3} values (10011, 2, 3, 4, 5, 6.6, 1.7, 8.8, 'a', 'b', 'c', '2021-10-30', '2021-10-30 00:00:00',1.11,1.21,1) """ diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_key_change_add.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_key_change_add.groovy index 43e7bcdc8fc517..e4cbe57807eb28 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_key_change_add.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_key_change_add.groovy @@ -56,7 +56,7 @@ suite("test_unique_schema_key_change_add","p0") { sql """ alter table ${tbName} add column province VARCHAR(20) KEY DEFAULT "广东省" AFTER username """ waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -67,7 +67,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -79,7 +79,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -91,7 +91,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 567, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -102,7 +102,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -113,7 +113,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 88889494646, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -125,7 +125,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 555888555, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -139,7 +139,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 189.9, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -155,7 +155,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 189.479, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -170,7 +170,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 16499.6464689, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -182,7 +182,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', \"2024-01-01\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -195,7 +195,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', \"2024-01-04 09:00:00\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -207,7 +207,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', 'T', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -221,7 +221,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', '我是侦探家', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}")},errorMessage) @@ -235,7 +235,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', to_bitmap(243), 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -251,7 +251,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -265,7 +265,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', '{\"k1\":\"v31\", \"k2\": 300}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -279,7 +279,7 @@ suite("test_unique_schema_key_change_add","p0") { insertSql = " insert into ${tbName} values(923456689, 'Alice', '{\"k1\":\"v31\", \"k2\": 300}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_key_change_drop.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_key_change_drop.groovy index 0648f0d897a653..191369471a9f1a 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_key_change_drop.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_key_change_drop.groovy @@ -70,7 +70,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -84,7 +84,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -98,7 +98,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -111,7 +111,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -125,7 +125,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -139,7 +139,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -152,7 +152,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -166,7 +166,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -180,7 +180,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -194,7 +194,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -208,7 +208,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -222,7 +222,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -236,7 +236,7 @@ suite("test_unique_schema_key_change_drop", "p0") { insertSql = "insert into ${tbName} values(6, 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_key_change_modify.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_key_change_modify.groovy index 8644baade65a94..790c2ebd692773 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_key_change_modify.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_key_change_modify.groovy @@ -62,7 +62,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -76,7 +76,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -90,7 +90,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -105,7 +105,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -120,7 +120,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -135,7 +135,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -149,7 +149,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -163,7 +163,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -177,7 +177,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -222,7 +222,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -235,7 +235,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -246,7 +246,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -257,7 +257,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") //Test the unique model by modify a key type from TINYINT to LARGEINT @@ -267,7 +267,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -280,7 +280,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -294,7 +294,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -309,7 +309,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -323,7 +323,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -337,7 +337,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -350,7 +350,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -395,7 +395,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -411,7 +411,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -424,7 +424,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -435,7 +435,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") //Test the unique model by modify a key type from SMALLINT to LARGEINT @@ -445,7 +445,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -458,7 +458,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -472,7 +472,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -487,7 +487,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -501,7 +501,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -515,7 +515,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -528,7 +528,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -572,7 +572,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -586,7 +586,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -600,7 +600,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -611,7 +611,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a key type from INT to LARGEINT @@ -621,7 +621,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a key type from INT to FLOAT @@ -633,7 +633,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -647,7 +647,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -661,7 +661,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -675,7 +675,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -687,7 +687,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a key type from INT to VARCHAR @@ -699,7 +699,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -712,7 +712,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -758,7 +758,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -772,7 +772,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -786,7 +786,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -800,7 +800,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -812,7 +812,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a key type from INT to FLOAT @@ -824,7 +824,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -838,7 +838,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -852,7 +852,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -866,7 +866,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -878,7 +878,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a key type from BIGINT to VARCHAR @@ -890,7 +890,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -903,7 +903,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -948,7 +948,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -962,7 +962,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -976,7 +976,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -990,7 +990,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1004,7 +1004,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1017,7 +1017,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1031,7 +1031,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1045,7 +1045,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1059,7 +1059,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1071,7 +1071,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1119,7 +1119,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1133,7 +1133,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1177,7 +1177,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1191,7 +1191,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1205,7 +1205,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1219,7 +1219,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1233,7 +1233,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1246,7 +1246,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1260,7 +1260,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1274,7 +1274,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1288,7 +1288,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1302,7 +1302,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1316,7 +1316,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1361,7 +1361,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1375,7 +1375,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1389,7 +1389,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1403,7 +1403,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1417,7 +1417,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1430,7 +1430,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1444,7 +1444,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1458,7 +1458,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1472,7 +1472,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1486,7 +1486,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1499,7 +1499,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1543,7 +1543,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1557,7 +1557,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1571,7 +1571,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1585,7 +1585,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1599,7 +1599,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1612,7 +1612,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1626,7 +1626,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1640,7 +1640,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1654,7 +1654,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1665,7 +1665,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -1711,7 +1711,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1759,7 +1759,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1772,7 +1772,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1785,7 +1785,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1799,7 +1799,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1814,7 +1814,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1829,7 +1829,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1844,7 +1844,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1858,7 +1858,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1872,7 +1872,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1886,7 +1886,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1934,7 +1934,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1947,7 +1947,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1960,7 +1960,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1974,7 +1974,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -1989,7 +1989,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2004,7 +2004,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2019,7 +2019,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2033,7 +2033,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2047,7 +2047,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2061,7 +2061,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2107,7 +2107,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2120,7 +2120,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2133,7 +2133,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2147,7 +2147,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2162,7 +2162,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2177,7 +2177,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2192,7 +2192,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2206,7 +2206,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2220,7 +2220,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2234,7 +2234,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2281,7 +2281,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2294,7 +2294,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2307,7 +2307,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2321,7 +2321,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2336,7 +2336,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2351,7 +2351,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2366,7 +2366,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2380,7 +2380,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2394,7 +2394,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2408,7 +2408,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2455,7 +2455,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2468,7 +2468,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2481,7 +2481,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2495,7 +2495,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2510,7 +2510,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2525,7 +2525,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2540,7 +2540,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2554,7 +2554,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2568,7 +2568,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2582,7 +2582,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2628,7 +2628,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 0, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2641,7 +2641,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2654,7 +2654,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2668,7 +2668,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2683,7 +2683,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2698,7 +2698,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2713,7 +2713,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2727,7 +2727,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2741,7 +2741,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -2755,7 +2755,7 @@ suite("test_unique_schema_key_change_modify","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_value_add.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_value_add.groovy index ab124135fd63dc..a2954e0c5facb6 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_value_add.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_value_add.groovy @@ -56,7 +56,7 @@ suite("test_unique_schema_value_add","p0") { def insertSql = "insert into ${tbName} values(993456689, 'Alice', '四川省', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -67,7 +67,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -79,7 +79,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -91,7 +91,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 567, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -102,7 +102,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -113,7 +113,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 88889494646, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -125,7 +125,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 555888555, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -140,7 +140,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 189.98, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -158,7 +158,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 189.479, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -170,7 +170,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', 16499.6464689, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00');" waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -182,7 +182,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', \"2024-01-01\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -195,7 +195,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', \"2024-01-04 09:00:00\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -209,7 +209,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', \"1\", 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -221,7 +221,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', '我是侦探家', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") //TODO Test the unique model by adding a value column with HLL @@ -233,7 +233,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', '2', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -247,7 +247,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', to_bitmap(243), 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -261,7 +261,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -273,7 +273,7 @@ suite("test_unique_schema_value_add","p0") { insertSql = " insert into ${tbName} values(993456689, 'Alice', '{\"k1\":\"v31\", \"k2\": 300}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_value_drop.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_value_drop.groovy index bdea72a0086ce2..69a8ea4a811c1c 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_value_drop.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_value_drop.groovy @@ -74,7 +74,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -125,7 +125,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -176,7 +176,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -227,7 +227,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -278,7 +278,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -329,7 +329,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -380,7 +380,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -431,7 +431,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -482,7 +482,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -533,7 +533,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -584,7 +584,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -635,7 +635,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -686,7 +686,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -737,7 +737,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', {'a': 500, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -788,7 +788,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -839,7 +839,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 'Sophia Lee', 91.3, 'Boston', 29, 2, 7778889990, true, 60, 6000000000, '2024-06-16', '2024-06-16', '2024-06-16 17:00:00', '2024-06-16 17:00:00', 'Test String 6', {'a': 100, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -911,7 +911,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 678.90, 6789.0123456789); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -949,7 +949,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 678.9012345678, 6789.0123456789); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -987,7 +987,7 @@ suite("test_unique_schema_value_drop", "p0") { insertSql = "insert into ${tbName} values(6, 678.9012345678, 678.90); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify.groovy index 97238aa7f1a169..8ab4374a3e9b74 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify.groovy @@ -66,7 +66,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -80,7 +80,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -94,7 +94,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -109,7 +109,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -124,7 +124,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -138,7 +138,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -152,7 +152,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.0, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -166,7 +166,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -180,7 +180,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -194,7 +194,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '1', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -241,7 +241,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -255,7 +255,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false,"${tbName}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -298,7 +298,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -309,7 +309,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") //Test the unique model by modify a value type from TINYINT to LARGEINT @@ -319,7 +319,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -330,7 +330,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") //Test the unique model by modify a value type from TINYINT to DOUBLE @@ -340,7 +340,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -353,7 +353,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -367,7 +367,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") },errorMessage) @@ -381,7 +381,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -392,7 +392,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true,"${tbName}") @@ -436,7 +436,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -450,7 +450,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -462,7 +462,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -473,7 +473,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from SMALLINT to LARGEINT @@ -483,7 +483,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -493,7 +493,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -503,7 +503,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -516,7 +516,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -530,7 +530,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -542,7 +542,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -553,7 +553,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -598,7 +598,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -612,7 +612,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -626,7 +626,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -637,7 +637,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from INT to LARGEINT @@ -647,7 +647,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from INT to FLOAT @@ -657,7 +657,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from INT to DOUBLE @@ -667,7 +667,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -680,7 +680,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -694,7 +694,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -706,7 +706,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from INT to VARCHAR @@ -718,7 +718,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") },errorMessage) @@ -729,7 +729,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -773,7 +773,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -787,7 +787,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -801,7 +801,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -814,7 +814,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -825,7 +825,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from BIGINT to FLOAT @@ -835,7 +835,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from BIGINT to DOUBLE @@ -845,7 +845,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -858,7 +858,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -872,7 +872,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -884,7 +884,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -897,7 +897,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") },errorMessage) @@ -909,7 +909,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") /** @@ -952,7 +952,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -966,7 +966,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -980,7 +980,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -993,7 +993,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1006,7 +1006,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 5, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") },errorMessage) @@ -1018,7 +1018,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //Test the unique model by modify a value type from LARGEINT to DOUBLE @@ -1028,7 +1028,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -1041,7 +1041,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1055,7 +1055,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1067,7 +1067,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -1080,7 +1080,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") },errorMessage) @@ -1092,7 +1092,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") @@ -1138,7 +1138,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1152,7 +1152,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1166,7 +1166,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1180,7 +1180,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1194,7 +1194,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1207,7 +1207,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1221,7 +1221,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1235,7 +1235,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1250,7 +1250,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1264,7 +1264,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1279,7 +1279,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1293,7 +1293,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1307,7 +1307,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1321,7 +1321,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1335,7 +1335,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1350,7 +1350,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1364,7 +1364,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1412,7 +1412,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1426,7 +1426,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1440,7 +1440,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1454,7 +1454,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1468,7 +1468,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1481,7 +1481,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1495,7 +1495,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1509,7 +1509,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1524,7 +1524,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1538,7 +1538,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1553,7 +1553,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1567,7 +1567,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1581,7 +1581,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1595,7 +1595,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1609,7 +1609,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1624,7 +1624,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1638,7 +1638,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1685,7 +1685,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', false, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1699,7 +1699,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1713,7 +1713,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1727,7 +1727,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1741,7 +1741,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1754,7 +1754,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1768,7 +1768,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1782,7 +1782,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1797,7 +1797,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1811,7 +1811,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1826,7 +1826,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1840,7 +1840,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '2003-12-31 20:12:12', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1854,7 +1854,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1868,7 +1868,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1882,7 +1882,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', 'asd', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1897,7 +1897,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', {'a': 100, 'b': 200}, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1911,7 +1911,7 @@ suite("test_unique_schema_value_modify","p0") { insertSql = "insert into ${tbName} values(993456689, 'Alice', '{'a': 100, 'b': 200}', 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify1.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify1.groovy index 9608c23c69fbf0..7cf7f467a72df3 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify1.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify1.groovy @@ -100,7 +100,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -114,7 +114,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -128,7 +128,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -142,7 +142,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -156,7 +156,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -169,7 +169,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -183,7 +183,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -197,7 +197,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -212,7 +212,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -225,7 +225,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATE to DATETIME @@ -235,7 +235,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATE to CHAR @@ -247,7 +247,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -261,7 +261,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -275,7 +275,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -290,7 +290,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -304,7 +304,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -352,7 +352,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -366,7 +366,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -380,7 +380,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -394,7 +394,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -408,7 +408,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -421,7 +421,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -435,7 +435,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -449,7 +449,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -464,7 +464,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -477,7 +477,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATEV2 to DATETIME @@ -487,7 +487,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31 20:12:12', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATEV2 to CHAR @@ -499,7 +499,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -513,7 +513,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -527,7 +527,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -542,7 +542,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -556,7 +556,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -605,7 +605,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -619,7 +619,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -633,7 +633,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -647,7 +647,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -661,7 +661,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -674,7 +674,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -688,7 +688,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -702,7 +702,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -717,7 +717,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -730,7 +730,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATETIME to DATEV2 @@ -740,7 +740,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATETIME to CHAR @@ -752,7 +752,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -766,7 +766,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -780,7 +780,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -795,7 +795,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -809,7 +809,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -856,7 +856,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', false, {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -870,7 +870,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -884,7 +884,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 2, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -898,7 +898,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 156, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -912,7 +912,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 545645, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '15662', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -925,7 +925,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 156546, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 15898, {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -939,7 +939,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -953,7 +953,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 3.6598, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -968,7 +968,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.6, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 1.65, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -981,7 +981,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATETIMEV2 to DATEV2 @@ -991,7 +991,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2003-12-31', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") //TODO Test the unique model by modify a value type from DATETIMEV2 to CHAR @@ -1003,7 +1003,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'cs1', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1017,7 +1017,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.45, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', 'asd', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1031,7 +1031,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.89, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1046,7 +1046,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.49, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', {'a': 100, 'b': 200}, {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -1060,7 +1060,7 @@ suite("test_unique_schema_value_modify1","p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.34, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '{'a': 100, 'b': 200}', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify2.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify2.groovy index 9ef63129d398a1..afbaea78d1ab6b 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify2.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify2.groovy @@ -98,7 +98,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, false, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -126,7 +126,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 3, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -140,7 +140,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4.1, 23, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -155,7 +155,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 2423, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -169,7 +169,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.36, 4561, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -183,7 +183,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 1.25, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -197,7 +197,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 56.98, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -212,7 +212,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -226,7 +226,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.3, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -241,7 +241,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 9.63, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -255,7 +255,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -268,7 +268,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan1', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") sql """ DROP TABLE IF EXISTS ${tbName2} """ @@ -315,7 +315,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.59, 'Yaan2', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -368,7 +368,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.98, {'a': 100, 'b': 200}, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -382,7 +382,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.47, '{'a': 100, 'b': 200}', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -430,7 +430,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, false, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -458,7 +458,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 3, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -472,7 +472,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4.1, 23, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -487,7 +487,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 2423, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -501,7 +501,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.36, 4561, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -515,7 +515,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 1.25, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -529,7 +529,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 56.98, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -544,7 +544,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -558,7 +558,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.3, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -573,7 +573,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 9.63, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -587,7 +587,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -602,7 +602,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan1', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") }, errorMessage) @@ -614,7 +614,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.59, 'Yaan2', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") @@ -667,7 +667,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.98, {'a': 100, 'b': 200}, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -681,7 +681,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.47, '{'a': 100, 'b': 200}', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -728,7 +728,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, false, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -756,7 +756,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 3, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -770,7 +770,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4.1, 23, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -785,7 +785,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 2423, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -799,7 +799,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.36, 4561, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -813,7 +813,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 1.25, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -827,7 +827,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 56.98, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -842,7 +842,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -856,7 +856,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.3, '2003-12-31', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -871,7 +871,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 9.63, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -885,7 +885,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, '2003-12-31 20:12:12', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -900,7 +900,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan1', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -914,7 +914,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.59, 'Yaan2', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -929,7 +929,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.98, {'a': 100, 'b': 200}, 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -943,7 +943,7 @@ suite("test_unique_schema_value_modify2", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.47, '{'a': 100, 'b': 200}', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 100, 'b': 200}, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) diff --git a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify3.groovy b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify3.groovy index dc847249ba0c4f..07ed02f154a464 100644 --- a/regression-test/suites/schema_change_p0/test_unique_schema_value_modify3.groovy +++ b/regression-test/suites/schema_change_p0/test_unique_schema_value_modify3.groovy @@ -98,7 +98,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', false, '{\"k1\":\"v1\", \"k2\": 200}'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -126,7 +126,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 3, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -140,7 +140,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 23, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -155,7 +155,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 4564, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -169,7 +169,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 43643734, [\"abc\", \"def\"]); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -183,7 +183,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 5.6, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -197,7 +197,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 895.666, '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -212,7 +212,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -226,7 +226,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -241,7 +241,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31 20:12:12', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -255,7 +255,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '2003-12-31 20:12:12', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -270,7 +270,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 'sdfghjk', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") }, errorMessage) @@ -283,7 +283,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', 'wertyu', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") }, errorMessage) @@ -296,7 +296,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', '{'a': 100, 'b': 200}', '[\"abc\", \"def\"]'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -343,7 +343,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.2, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', , false); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -371,7 +371,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 21); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -385,7 +385,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 4.1, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 25); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -400,7 +400,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 32523); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -414,7 +414,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 2.36, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 356436); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -428,7 +428,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 86.5); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -442,7 +442,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 1.23, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 896.2356); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -457,7 +457,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.6, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -471,7 +471,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.3, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -486,7 +486,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 9.63, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31 20:12:12'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -500,7 +500,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '2003-12-31 20:12:12'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) @@ -515,7 +515,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 5.69, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, 'erwtewxa'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") }, errorMessage) @@ -528,7 +528,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 6.59, 'Yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, '36tgeryda'); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, false, "${tbName}") }, errorMessage) @@ -541,7 +541,7 @@ suite("test_unique_schema_value_modify3", "p0") { insertSql = "insert into ${tbName} values(923456689, 'Alice', 8.47, 'yaan', 25, 0, 13812345678, 'No. 123 Street, Beijing', '2022-01-01 10:00:00', {'a': 700, 'b': 200}, {'a': 700, 'b': 200}); " waitForSchemaChangeDone({ sql getTableStatusSql - time 60 + time 600 }, insertSql, true, "${tbName}") }, errorMessage) From cfae9604a2e9b20eb7e7e2781a45141a087bd680 Mon Sep 17 00:00:00 2001 From: hui lai <1353307710@qq.com> Date: Tue, 16 Jul 2024 09:51:42 +0800 Subject: [PATCH 5/8] Revert "[fix](routine-load) fix auto resume invalid when FE leader change (#37071)" (#37804) revert (#37071) It will only call the `write` method to write the edit log when creating the routine load job, but will not use this method when change job state to pause, but use the logic: ``` Env.getCurrentEnv().getEditLog().logOpRoutineLoadJob(new RoutineLoadOperation(id, jobState)); ``` Therefore, using the logic: ``` @SerializedName("pr") protected ErrorReason pauseReason; ``` only persist pauseReason when create job, rather than pause job, which means `pauseReason` will not be persist when it is assigned due to pause, causing auto resume still invalid if FE leader change when job pause. --- .../org/apache/doris/load/routineload/RoutineLoadJob.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java index 51f318377802ac..d870922e2d7e36 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java +++ b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java @@ -242,16 +242,11 @@ public boolean isFinalState() { @SerializedName("pg") protected RoutineLoadProgress progress; - @SerializedName("lrt") protected long latestResumeTimestamp; // the latest resume time - @SerializedName("art") protected long autoResumeCount; // some other msg which need to show to user; - @SerializedName("om") protected String otherMsg = ""; - @SerializedName("pr") protected ErrorReason pauseReason; - @SerializedName("cr") protected ErrorReason cancelReason; @SerializedName("cts") From dbdbd2c8fd43750d1a1e443ed8f2b40b1cbe39c9 Mon Sep 17 00:00:00 2001 From: xzj7019 <131111794+xzj7019@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:00:31 +0800 Subject: [PATCH 6/8] [fix](nereids) fix outerjoin assoc rule bug (#37762) Fix outer join assoc rule bug, which unexpectly doing the join reorder for the (t1 left outer t2) inner t3 => t1 left outer (t2 inner join t3) transformation, and leading the wrong result. --- .../nereids/rules/exploration/join/OuterJoinAssocProject.java | 1 - 1 file changed, 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/join/OuterJoinAssocProject.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/join/OuterJoinAssocProject.java index 5113db18984e95..12d2560a364256 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/join/OuterJoinAssocProject.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/rules/exploration/join/OuterJoinAssocProject.java @@ -56,7 +56,6 @@ public class OuterJoinAssocProject extends OneExplorationRuleFactory { // Pair // newBottomJoin Type = topJoin Type, newTopJoin Type = bottomJoin Type public static Set> VALID_TYPE_PAIR_SET = ImmutableSet.of( - Pair.of(JoinType.LEFT_OUTER_JOIN, JoinType.INNER_JOIN), Pair.of(JoinType.INNER_JOIN, JoinType.LEFT_OUTER_JOIN), Pair.of(JoinType.LEFT_OUTER_JOIN, JoinType.LEFT_OUTER_JOIN)); From dfa9122d9ceea03aaeb9de3f6208bd26de5ec777 Mon Sep 17 00:00:00 2001 From: Dongyang Li Date: Tue, 16 Jul 2024 10:26:40 +0800 Subject: [PATCH 7/8] [fix](ci) compile cloud when cloud/cmake/* changed (#37610) ## Proposed changes Issue Number: close #xxx Co-authored-by: stephen --- regression-test/pipeline/common/github-utils.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/regression-test/pipeline/common/github-utils.sh b/regression-test/pipeline/common/github-utils.sh index 28b1010224c4b6..894cf027fc72dd 100644 --- a/regression-test/pipeline/common/github-utils.sh +++ b/regression-test/pipeline/common/github-utils.sh @@ -309,6 +309,7 @@ file_changed_cloud_p0() { [[ "${af}" == 'env.sh' ]] || [[ "${af}" == 'run-regression-test.sh' ]] || [[ "${af}" == 'cloud/src/'* ]] || + [[ "${af}" == 'cloud/cmake/'* ]] || [[ "${af}" == 'cloud/test/'* ]]; then echo "cloud-p0 related file changed, return need" && return 0 fi From 1b4108cd92148ef028ac3270e6ab35f598f953c4 Mon Sep 17 00:00:00 2001 From: zfr95 <87513668+zfr9527@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:27:14 +0800 Subject: [PATCH 8/8] [fix](auth)Add some log in auth case (#37362) ## Proposed changes [fix](auth)Add some log in auth case --- .../test_master_slave_consistency_auth.groovy | 43 +++++++++++-------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy b/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy index 6c8f7e520b8fbd..4370018ee9abc1 100644 --- a/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy +++ b/regression-test/suites/auth_p0/test_master_slave_consistency_auth.groovy @@ -19,8 +19,9 @@ suite ("test_follower_consistent_auth","p0,auth") { def get_follower_ip = { def result = sql """show frontends;""" + logger.info("result:" + result) for (int i = 0; i < result.size(); i++) { - if (result[i][7] == "FOLLOWER" && result[i][8] == "false") { + if (result[i][7] == "FOLLOWER" && result[i][8] == "false" && result[i][11] == "true") { return result[i][1] } } @@ -29,7 +30,10 @@ suite ("test_follower_consistent_auth","p0,auth") { def switch_ip = get_follower_ip() if (switch_ip != "null") { logger.info("switch_ip: " + switch_ip) - def new_jdbc_url = context.config.jdbcUrl.replaceAll(/\/\/[0-9.]+:/, "//${switch_ip}:") + + def tokens = context.config.jdbcUrl.split('/') + def url_tmp1 = tokens[0] + "//" + tokens[2] + "/" + "information_schema" + "?" + def new_jdbc_url = url_tmp1.replaceAll(/\/\/[0-9.]+:/, "//${switch_ip}:") logger.info("new_jdbc_url: " + new_jdbc_url) String user = 'test_follower_consistent_user' @@ -109,8 +113,9 @@ suite ("test_follower_consistent_auth","p0,auth") { sql """GRANT USAGE_PRIV ON CLUSTER ${validCluster} TO ${user}"""; } - - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + logger.info("url_tmp1:" + url_tmp1) + logger.info("new_jdbc_url:" + new_jdbc_url) + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "SHOW CATALOG RECYCLE BIN WHERE NAME = '${catalog_name}'" } catch (Exception e) { @@ -126,7 +131,7 @@ suite ("test_follower_consistent_auth","p0,auth") { assertTrue(e.getMessage().contains("Admin_priv")) } } - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "SHOW DATA" } catch (Exception e) { @@ -143,7 +148,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } } - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "select username from ${dbName}.${tableName}" } catch (Exception e) { @@ -160,7 +165,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } } sql """grant select_priv(username) on ${dbName}.${tableName} to ${user}""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql "select username from ${dbName}.${tableName}" } connect(user=user, password="${pwd}", url=new_jdbc_url) { @@ -168,7 +173,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "select username from ${dbName}.${view_name}" } catch (Exception e) { @@ -185,7 +190,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } } sql """grant select_priv(username) on ${dbName}.${view_name} to ${user}""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql "select username from ${dbName}.${view_name}" } connect(user=user, password="${pwd}", url=new_jdbc_url) { @@ -193,7 +198,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "select username from ${dbName}.${mtmv_name}" } catch (Exception e) { @@ -210,7 +215,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } } sql """grant select_priv(username) on ${dbName}.${mtmv_name} to ${user}""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql "select username from ${dbName}.${mtmv_name}" } connect(user=user, password="${pwd}", url=new_jdbc_url) { @@ -223,7 +228,7 @@ suite ("test_follower_consistent_auth","p0,auth") { // user sql """grant select_priv on ${dbName}.${tableName} to ${user}""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql "select username from ${dbName}.${tableName}" } connect(user=user, password="${pwd}", url=new_jdbc_url) { @@ -231,7 +236,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } sql """revoke select_priv on ${dbName}.${tableName} from ${user}""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "select username from ${dbName}.${tableName}" } catch (Exception e) { @@ -252,7 +257,7 @@ suite ("test_follower_consistent_auth","p0,auth") { sql """grant select_priv on ${dbName}.${tableName} to ROLE '${role}'""" sql """grant Load_priv on ${dbName}.${tableName} to ROLE '${role}'""" sql """grant '${role}' to '${user}'""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql "select username from ${dbName}.${tableName}" sql """insert into ${dbName}.`${tableName}` values (4, "444")""" } @@ -262,7 +267,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } sql """revoke '${role}' from '${user}'""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { try { sql "select username from ${dbName}.${tableName}" } catch (Exception e) { @@ -281,7 +286,7 @@ suite ("test_follower_consistent_auth","p0,auth") { // workload group - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql """set workload_group = '${wg}';""" try { sql "select username from ${dbName}.${tableName}" @@ -300,7 +305,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } } sql """GRANT USAGE_PRIV ON WORKLOAD GROUP '${wg}' TO '${user}';""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { sql """set workload_group = '${wg}';""" sql """select username from ${dbName}.${tableName}""" } @@ -310,7 +315,7 @@ suite ("test_follower_consistent_auth","p0,auth") { } // resource group - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { def res = sql """SHOW RESOURCES;""" assertTrue(res == []) } @@ -319,7 +324,7 @@ suite ("test_follower_consistent_auth","p0,auth") { assertTrue(res == []) } sql """GRANT USAGE_PRIV ON RESOURCE ${rg} TO ${user};""" - connect(user=user, password="${pwd}", url=context.config.jdbcUrl) { + connect(user=user, password="${pwd}", url=url_tmp1) { def res = sql """SHOW RESOURCES;""" assertTrue(res.size == 10) }