diff --git a/regression-test/suites/schema_change_p0/test_agg_schema_value_modify.groovy b/regression-test/suites/schema_change_p0/test_agg_schema_value_modify.groovy index 31fead3ee35ad0c..0e8c9a954874f0c 100644 --- a/regression-test/suites/schema_change_p0/test_agg_schema_value_modify.groovy +++ b/regression-test/suites/schema_change_p0/test_agg_schema_value_modify.groovy @@ -1451,7 +1451,7 @@ suite("test_agg_schema_value_modify","p0") { expectException({ sql initTable sql initTableData - sql """ alter table ${tbName1} MODIFY column fan_number BOOLEAN """ + sql """ alter table ${tbName1} MODIFY column fan_number BOOLEAN REPLACE_IF_NOT_NULL """ 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 @@ -1465,7 +1465,7 @@ suite("test_agg_schema_value_modify","p0") { expectException({ sql initTable sql initTableData - sql """ alter table ${tbName1} MODIFY column fan_number TINYINT """ + sql """ alter table ${tbName1} MODIFY column fan_number TINYINT REPLACE_IF_NOT_NULL """ 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 @@ -1479,7 +1479,7 @@ suite("test_agg_schema_value_modify","p0") { expectException({ sql initTable sql initTableData - sql """ alter table ${tbName1} MODIFY column fan_number SMALLINT """ + sql """ alter table ${tbName1} MODIFY column fan_number SMALLINT REPLACE_IF_NOT_NULL """ 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 @@ -1493,7 +1493,7 @@ suite("test_agg_schema_value_modify","p0") { expectException({ sql initTable sql initTableData - sql """ alter table ${tbName1} MODIFY column fan_number INT """ + sql """ alter table ${tbName1} MODIFY column fan_number INT REPLACE_IF_NOT_NULL """ 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 diff --git a/regression-test/suites/schema_change_p0/test_alter_table_drop_column.groovy b/regression-test/suites/schema_change_p0/test_alter_table_drop_column.groovy index bd600d8169857ac..e19cc5e3fc87d0b 100644 --- a/regression-test/suites/schema_change_p0/test_alter_table_drop_column.groovy +++ b/regression-test/suites/schema_change_p0/test_alter_table_drop_column.groovy @@ -70,9 +70,9 @@ suite("test_alter_table_drop_column") { qt_order """ select * from ${uniqueTableName} order by citycode""" test { - sql """ alter table ${uniqueTableName} drop COLUMN siteid;""" + sql """ alter table ${uniqueTableName} drop COLUMN citycode;""" // check exception message contains - exception "Can not drop key column in Unique data model table" + exception "Can not drop key column citycode in unique data model table" } sql """ alter table ${uniqueTableName} drop COLUMN pv from ${uniqueTableRollupName};""" @@ -120,7 +120,7 @@ suite("test_alter_table_drop_column") { test { sql """ alter table ${aggTableName} drop COLUMN citycode from ${aggTableRollupName};""" // check exception message contains - exception "Can not drop key column when rollup has value column with REPLACE aggregation method" + exception "Can not drop key column citycode when rollup has value column with REPLACE aggregation method" } sql """ alter table ${aggTableName} drop COLUMN pv from ${aggTableRollupName};""" @@ -136,7 +136,7 @@ suite("test_alter_table_drop_column") { test { sql """ alter table ${aggTableName} drop COLUMN pv from ${aggTableRollupName};""" // check exception message contains - exception "Column does not exists" + exception "Column does not exists: pv" } // duplicate model table @@ -161,7 +161,7 @@ suite("test_alter_table_drop_column") { test { sql """alter table ${dupTableName} drop COLUMN siteid;""" // check exception message contains - exception "Distribution column[siteid] cannot be dropped" + exception "Can not drop partition or distribution column : siteid" } sql "DROP TABLE IF EXISTS ${dupTableName} FORCE" diff --git a/regression-test/suites/schema_change_p0/test_alter_table_modify_column.groovy b/regression-test/suites/schema_change_p0/test_alter_table_modify_column.groovy index e6c189b0baa4215..3e6d2a39082a5ce 100644 --- a/regression-test/suites/schema_change_p0/test_alter_table_modify_column.groovy +++ b/regression-test/suites/schema_change_p0/test_alter_table_modify_column.groovy @@ -62,9 +62,9 @@ suite("test_alter_table_modify_column") { qt_order """select * from ${uniqueTableName} order by siteid""" test { - sql """alter table ${uniqueTableName} modify COLUMN siteid INT SUM DEFAULT '0';""" + sql """alter table ${uniqueTableName} modify COLUMN citycode INT SUM DEFAULT '0';""" // check exception message contains - exception "Can not assign aggregation method on column in Unique data model table" + exception "Key column citycode can not set aggregation type" } sql "DROP TABLE IF EXISTS ${uniqueTableName} FORCE" @@ -97,15 +97,15 @@ suite("test_alter_table_modify_column") { qt_order """select * from ${aggTableName} order by siteid""" test { - sql """alter table ${aggTableName} modify COLUMN siteid INT key SUM DEFAULT '0';""" + sql """alter table ${aggTableName} modify COLUMN citycode INT key SUM DEFAULT '0';""" // check exception message contains - exception "Key column siteid can not set aggregation type" + exception "Key column citycode can not set aggregation type" } test { sql """alter table ${aggTableName} modify COLUMN pv BIGINT DEFAULT '0';""" // check exception message contains - exception "Can not change aggregation typ" + exception "should set aggregation type to non-key column in aggregate key table" } sql "DROP TABLE IF EXISTS ${aggTableName} FORCE" @@ -142,45 +142,45 @@ suite("test_alter_table_modify_column") { qt_order """select * from ${dupTableName} order by siteid""" test { - sql """alter table ${dupTableName} modify COLUMN siteid INT SUM DEFAULT '0';""" + sql """alter table ${dupTableName} modify COLUMN pv INT SUM DEFAULT '0';""" // check exception message contains - exception "Can not assign aggregation method on column in Duplicate data model table" + exception "Can not modify column[pv]'s aggregation type" } test { sql """alter table ${dupTableName} modify COLUMN siteid BIGINT from not_exist_rollup;""" // check exception message contains - exception "Index[not_exist_rollup] does not exist in table" + exception "Cannot modify column in rollup not_exist_rollup" } test { sql """alter table ${dupTableName} modify COLUMN not_exist_column BIGINT;""" // check exception message contains - exception "Column[not_exist_column] does not exists" + exception "Column[not_exist_column] does not exist" } test { sql """alter table ${dupTableName} modify COLUMN not_exist_column BIGINT from ${dupTableRollupName};""" // check exception message contains - exception "Do not need to specify index name when just modifying column type" + exception "Cannot modify column in rollup test_alter_table_modify_column_dup_rollup" } test { - sql """alter table ${dupTableName} modify COLUMN siteid BIGINT after not_exist_column;""" + sql """alter table ${dupTableName} modify COLUMN citycode BIGINT after not_exist_column;""" // check exception message contains - exception "Column[not_exist_column] does not exists" + exception "Column[not_exist_column] does not exist" } - test { - sql """alter table ${dupTableName} modify COLUMN citycode BIGINT DEFAULT '10' first;""" - // check exception message contains - exception "Invalid column order. value should be after key" - } + // test { + // sql """alter table ${dupTableName} modify COLUMN citycode BIGINT DEFAULT '10' first;""" + // // check exception message contains + // exception "Invalid column order. value should be after key" + // } test { sql """alter table ${dupTableName} modify COLUMN siteid BIGINT key DEFAULT '10' first;""" // check exception message contains - exception "Can not modify distribution column" + exception "Can not modify partition or distribution column : siteid" } sql """alter table ${dupTableName} modify COLUMN username VARCHAR(32) key DEFAULT 'test' first;""" 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 0eb4f9c5dc7cdd7..e7f37a09272787a 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 @@ -150,13 +150,13 @@ suite("test_schema_change_agg", "p0") { // check add column without agg type test { sql """ alter table ${tableName3} add column v16 int NOT NULL default "0" after k13 """ - exception "Invalid column order. value should be after key. index[${tableName3}]" + exception "can't add key column v16 after value column k13" } // del key test { - sql """ alter table ${tableName3} drop column k1 """ - exception "Can not drop key column when table has value column with REPLACE aggregation method" + sql """ alter table ${tableName3} drop column k2 """ + exception "Can not drop key column k2 in aggregation key table having REPLACE or REPLACE_IF_NOT_NULL column" } @@ -184,7 +184,7 @@ suite("test_schema_change_agg", "p0") { test { sql "alter table ${tableName3} drop column siteid" - exception "Partition column[siteid] cannot be dropped. index[${tableName3}]" + exception "Can not drop partition or distribution column : siteid" } //modify col @@ -192,20 +192,20 @@ suite("test_schema_change_agg", "p0") { // without agg type test { sql "alter table ${tableName3} modify column pv varchar" - exception "Can not change aggregation type" + exception "should set aggregation type to non-key column in aggregate key table" } //partition col test { sql "alter table ${tableName3} modify column siteid varchar DEFAULT '10'" - exception "Can not modify partition column[siteid]." + exception "Can not modify partition or distribution column : siteid" } //distribution key test { sql "alter table ${tableName3} modify column citycode smallint comment 'citycode'" - exception "Can not modify distribution column[citycode]. index[${tableName3}]" + exception "Can not modify partition or distribution column : citycode" } diff --git a/regression-test/suites/schema_change_p0/test_schema_change_auto_inc.groovy b/regression-test/suites/schema_change_p0/test_schema_change_auto_inc.groovy index d249d3c5632f142..09d72bed9c5a5ab 100644 --- a/regression-test/suites/schema_change_p0/test_schema_change_auto_inc.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_change_auto_inc.groovy @@ -44,13 +44,13 @@ suite("test_schema_change_auto_inc") { // remove auto-increment attribute from a column test { sql "alter table ${table1} modify column id BIGINT NOT NULL" - exception "Can't modify the column[id]'s auto-increment attribute." + exception "Can not modify column[id]'s auto-increment attribute" } // add auto-increment attribute to a column test { - sql "alter table ${table1} modify column id2 BIGINT NOT NULL AUTO_INCREMENT" - exception "Can't modify the column[id2]'s auto-increment attribute." + sql """alter table ${table1} modify column id2 BIGINT NOT NULL AUTO_INCREMENT DEFAULT "0" """ + exception "Can not modify column[id2]'s auto-increment attribute" } sql """ insert into ${table1}(name, value, id2) values("A", 999, 1), ("B", 888, 2), ("C", 777, 3);""" diff --git a/regression-test/suites/schema_change_p0/test_schema_reordering_dup.groovy b/regression-test/suites/schema_change_p0/test_schema_reordering_dup.groovy index b1f48bd1dcd48b7..6e796efaacd9c5d 100644 --- a/regression-test/suites/schema_change_p0/test_schema_reordering_dup.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_reordering_dup.groovy @@ -391,7 +391,7 @@ suite("test_schema_reordering_dup", "p0") { " (3, 'Mike Johnson', 77.8, 'Chicago', 35, 1, 1112223334, true, 30, 3000000000, '2024-06-13', '2024-06-13', '2024-06-13 11:15:00', '2024-06-13 11:15:00', 'Test String 3', {'a': 300, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (4, 'Emily Brown', 92.0, 'San Francisco', 28, 2, 5556667778, true, 40, 4000000000, '2024-06-14', '2024-06-14', '2024-06-14 13:30:00', '2024-06-14 13:30:00', 'Test String 4', {'a': 400, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (5, 'David Wilson', 88.9, 'Seattle', 32, 1, 9998887776, false, 50, 5000000000, '2024-06-15', '2024-06-15', '2024-06-15 15:45:00', '2024-06-15 15:45:00', 'Test String 5', {'a': 500, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99);" - errorMessage = "errCode = 2, detailMessage = Can not change aggregation type" + errorMessage = "errCode = 2, detailMessage = Can not modify key column score after value column" expectException({ sql initTable sql initTableData @@ -492,7 +492,7 @@ suite("test_schema_reordering_dup", "p0") { " (3, 'Mike Johnson', 77.8, 'Chicago', 35, 1, 1112223334, true, 30, 3000000000, '2024-06-13', '2024-06-13', '2024-06-13 11:15:00', '2024-06-13 11:15:00', 'Test String 3', {'a': 300, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (4, 'Emily Brown', 92.0, 'San Francisco', 28, 2, 5556667778, true, 40, 4000000000, '2024-06-14', '2024-06-14', '2024-06-14 13:30:00', '2024-06-14 13:30:00', 'Test String 4', {'a': 400, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (5, 'David Wilson', 88.9, 'Seattle', 32, 1, 9998887776, false, 50, 5000000000, '2024-06-15', '2024-06-15', '2024-06-15 15:45:00', '2024-06-15 15:45:00', 'Test String 5', {'a': 500, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99);" - errorMessage = "errCode = 2, detailMessage = Table regression_test_schema_change_p0.test_schema_reordering_dup check failed" + errorMessage = "errCode = 2, detailMessage = Can not drop partition or distribution column : username" expectException({ sql initTable sql initTableData diff --git a/regression-test/suites/schema_change_p0/test_schema_reordering_unique.groovy b/regression-test/suites/schema_change_p0/test_schema_reordering_unique.groovy index fa33f60191da000..13edbd6ddfa40ac 100644 --- a/regression-test/suites/schema_change_p0/test_schema_reordering_unique.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_reordering_unique.groovy @@ -401,7 +401,7 @@ suite("test_schema_reordering_unique", "p0") { " (3, 'Mike Johnson', 77.8, 'Chicago', 35, 1, 1112223334, true, 30, 3000000000, '2024-06-13', '2024-06-13', '2024-06-13 11:15:00', '2024-06-13 11:15:00', 'Test String 3', {'a': 300, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (4, 'Emily Brown', 92.0, 'San Francisco', 28, 2, 5556667778, true, 40, 4000000000, '2024-06-14', '2024-06-14', '2024-06-14 13:30:00', '2024-06-14 13:30:00', 'Test String 4', {'a': 400, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (5, 'David Wilson', 88.9, 'Seattle', 32, 1, 9998887776, false, 50, 5000000000, '2024-06-15', '2024-06-15', '2024-06-15 15:45:00', '2024-06-15 15:45:00', 'Test String 5', {'a': 500, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99);" - errorMessage = "errCode = 2, detailMessage = Can not change aggregation type" + errorMessage = "errCode = 2, detailMessage = Can not modify key column score after value column" expectException({ sql initTable sql initTableData @@ -454,7 +454,7 @@ suite("test_schema_reordering_unique", "p0") { " (3, 'Mike Johnson', 77.8, 'Chicago', 35, 1, 1112223334, true, 30, 3000000000, '2024-06-13', '2024-06-13', '2024-06-13 11:15:00', '2024-06-13 11:15:00', 'Test String 3', {'a': 300, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (4, 'Emily Brown', 92.0, 'San Francisco', 28, 2, 5556667778, true, 40, 4000000000, '2024-06-14', '2024-06-14', '2024-06-14 13:30:00', '2024-06-14 13:30:00', 'Test String 4', {'a': 400, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99)," + " (5, 'David Wilson', 88.9, 'Seattle', 32, 1, 9998887776, false, 50, 5000000000, '2024-06-15', '2024-06-15', '2024-06-15 15:45:00', '2024-06-15 15:45:00', 'Test String 5', {'a': 500, 'b': 200}, '[\"abc\", \"def\"]',95.5, 9.99);" - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column age in unique data model table" expectException({ sql initTable sql initTableData 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 191369471a9f1a2..e1bc91d464308f7 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 @@ -62,7 +62,7 @@ suite("test_unique_schema_key_change_drop", "p0") { " (5, 'David Wilson', 88.9, 'Seattle', 32, 1, 9998887776, false, 50, 5000000000, '2024-06-15', '2024-06-15', '2024-06-15 15:45:00', '2024-06-15 15:45:00');" //TODO Test the unique model by drop a key type from BOOLEAN - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column is_ok in unique data model table" expectException({ sql initTable sql initTableData @@ -76,7 +76,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from TINYINT - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column sex in unique data model table" expectException({ sql initTable sql initTableData @@ -90,7 +90,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from SMALLINT - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column age in unique data model table" expectException({ sql initTable sql initTableData @@ -103,7 +103,7 @@ suite("test_unique_schema_key_change_drop", "p0") { }, errorMessage) //TODO Test the unique model by drop a key type from INT - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_int in unique data model table" expectException({ sql initTable sql initTableData @@ -117,7 +117,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from BIGINT - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_bigint in unique data model table" expectException({ sql initTable sql initTableData @@ -131,7 +131,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from LARGEINT - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column phone in unique data model table" expectException({ sql initTable sql initTableData @@ -144,7 +144,7 @@ suite("test_unique_schema_key_change_drop", "p0") { }, errorMessage) //TODO Test the unique model by drop a key type from DATE - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_date in unique data model table" expectException({ sql initTable sql initTableData @@ -158,7 +158,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from DATEV2 - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_datev2 in unique data model table" expectException({ sql initTable sql initTableData @@ -172,7 +172,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from t_datetimev2 - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_datetimev2 in unique data model table" expectException({ sql initTable sql initTableData @@ -186,7 +186,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from t_datetimev2 - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_datetimev2 in unique data model table" expectException({ sql initTable sql initTableData @@ -200,7 +200,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from t_datetime - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column t_datetime in unique data model table" expectException({ sql initTable sql initTableData @@ -214,7 +214,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from CHAR - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column city in unique data model table" expectException({ sql initTable sql initTableData @@ -228,7 +228,7 @@ suite("test_unique_schema_key_change_drop", "p0") { //TODO Test the unique model by drop a key type from VARCHAR - errorMessage = "errCode = 2, detailMessage = Can not drop key column in Unique data model table" + errorMessage = "errCode = 2, detailMessage = Can not drop key column username in unique data model table" expectException({ sql initTable sql initTableData diff --git a/regression-test/suites/schema_change_p0/unique_ck/test_unique_schema_value_modify.groovy b/regression-test/suites/schema_change_p0/unique_ck/test_unique_schema_value_modify.groovy index c1d7df20b09df45..2f45f34404460bc 100644 --- a/regression-test/suites/schema_change_p0/unique_ck/test_unique_schema_value_modify.groovy +++ b/regression-test/suites/schema_change_p0/unique_ck/test_unique_schema_value_modify.groovy @@ -145,7 +145,7 @@ suite("test_unique_schema_value_modify","p0") { //TODO Test the unique model by modify a value type from BOOLEAN to DECIMAL - errorMessage="errCode = 2, detailMessage = Can not change BOOLEAN to DECIMAL32" + errorMessage="errCode = 2, detailMessage = Can not change BOOLEAN to DECIMAL128" expectException({ sql initTable sql initTableData @@ -347,8 +347,8 @@ suite("test_unique_schema_value_modify","p0") { }, insertSql, true,"${tbName}") - //TODO Test the unique model by modify a value type from TINYINT to DECIMAL32 - errorMessage="errCode = 2, detailMessage = Can not change TINYINT to DECIMAL32" + //TODO Test the unique model by modify a value type from TINYINT to DECIMAL128 + errorMessage="errCode = 2, detailMessage = Can not change TINYINT to DECIMAL128" expectException({ sql initTable sql initTableData @@ -512,7 +512,7 @@ suite("test_unique_schema_value_modify","p0") { //TODO Test the unique model by modify a value type from SMALLINT to DECIMAL - errorMessage = "errCode = 2, detailMessage = Can not change SMALLINT to DECIMAL32" + errorMessage = "errCode = 2, detailMessage = Can not change SMALLINT to DECIMAL128" expectException({ sql initTable sql initTableData