diff --git a/regression-test/data/unique_with_mow_c_p0/test_schema_change_ck.out b/regression-test/data/unique_with_mow_c_p0/test_schema_change_ck.out index f116cf20b3c1c8..56cba918faa01d 100644 --- a/regression-test/data/unique_with_mow_c_p0/test_schema_change_ck.out +++ b/regression-test/data/unique_with_mow_c_p0/test_schema_change_ck.out @@ -154,28 +154,28 @@ 210 200 39 20 -- !select_create_mv_mv -- -10 39 -11 38 -110 39 -111 38 -112 37 -113 36 -114 35 -115 34 -116 33 -117 32 -118 31 -119 30 -12 37 -13 36 -14 35 -15 34 -16 33 -17 32 -18 31 -19 30 -210 39 -211 38 +10 \N 29 +11 \N 28 +110 200 20 +111 200 21 +112 200 22 +113 200 23 +114 200 24 +115 200 25 +116 200 20 +117 200 20 +118 200 20 +119 200 20 +12 \N 26 +13 \N 27 +14 \N 20 +15 \N 20 +16 \N 20 +17 \N 20 +18 200 20 +19 200 20 +210 200 20 +211 200 21 -- !select_create_rollup_base -- 11 \N 38 28 diff --git a/regression-test/suites/unique_with_mow_c_p0/test_schema_change_ck.groovy b/regression-test/suites/unique_with_mow_c_p0/test_schema_change_ck.groovy index 7a4ece3de0e57b..a05b2790d5f329 100644 --- a/regression-test/suites/unique_with_mow_c_p0/test_schema_change_ck.groovy +++ b/regression-test/suites/unique_with_mow_c_p0/test_schema_change_ck.groovy @@ -147,7 +147,7 @@ suite("test_schema_change_ck") { /****** create mv ******/ def mv_name = "k2_c3" sql """DROP MATERIALIZED VIEW IF EXISTS ${mv_name}""" - createMV """ create materialized view ${mv_name} as select c1, c3 from ${tableName}; """ + createMV """ create materialized view ${mv_name} as select c1, k2, c2 from ${tableName}; """ sql """ INSERT INTO ${tableName}(c1, c2, c3, k2) VALUES (211, 21, 38, 200), (210, 20, 39, 200) """ qt_select_create_mv_base """select * from ${tableName}""" /*Awaitility.await().atMost(100, SECONDS).pollInterval(4, SECONDS).until( @@ -156,7 +156,7 @@ suite("test_schema_change_ck") { return result.contains(mv_name) } )*/ - order_qt_select_create_mv_mv """select c1, c3 from ${tableName}""" + order_qt_select_create_mv_mv """select c1, k2, c2 from ${tableName}""" /****** create rollup ******/ sql """ alter table ${tableName} ADD ROLLUP r1(k2, c1, c2); """