diff --git a/regression-test/suites/rollup_p0/test_materialized_view_load_open.groovy b/regression-test/suites/rollup_p0/test_materialized_view_load_open.groovy index 1a2fdf0d278954..9aa156136959e1 100644 --- a/regression-test/suites/rollup_p0/test_materialized_view_load_open.groovy +++ b/regression-test/suites/rollup_p0/test_materialized_view_load_open.groovy @@ -128,10 +128,10 @@ suite("test_materialized_view_load_open", "rollup") { ); """ - createMV("CREATE materialized VIEW test_load_open AS SELECT k1 as a1 FROM ${tbName1} GROUP BY k1;") - createMV("CREATE materialized VIEW test_load_open_dynamic_partition AS SELECT k1 as a2 FROM ${tbName2} GROUP BY k1;") - createMV("CREATE materialized VIEW test_load_open_schema_change AS SELECT k1 as a3 FROM ${tbName3} GROUP BY k1;") - createMV("CREATE materialized VIEW test_load_open_dynamic_partition_schema_change AS SELECT k1 as a4 FROM ${tbName4} GROUP BY k1;") + create_sync_mv(context.dbName, tbName1, "test_load_open", "SELECT k1 as a1 FROM ${tbName1} GROUP BY k1;") + create_sync_mv(context.dbName, tbName2, "test_load_open_dynamic_partition", "SELECT k1 as a2 FROM ${tbName2} GROUP BY k1;") + create_sync_mv(context.dbName, tbName3, "test_load_open_schema_change", "SELECT k1 as a3 FROM ${tbName3} GROUP BY k1;") + create_sync_mv(context.dbName, tbName4, "test_load_open_dynamic_partition_schema_change", "SELECT k1 as a4 FROM ${tbName4} GROUP BY k1;") sql "insert into ${tbName1} values('2000-05-20', 1.5, 'test', 1);" sql "insert into ${tbName1} values('2010-05-20', 1.5, 'test', 1);" @@ -157,4 +157,4 @@ suite("test_materialized_view_load_open", "rollup") { } qt_select "select * from test_materialized_view_load_open_schema_change order by 1,2,3,4;" -} \ No newline at end of file +}