From c10c9a83b13e736d0f00b017b596912c7ce3318d Mon Sep 17 00:00:00 2001 From: starocean999 Date: Fri, 27 Dec 2024 16:21:06 +0800 Subject: [PATCH] [fix](test)fix failed mv case --- .../suites/correctness_p0/test_mv_case/test_mv_case.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/correctness_p0/test_mv_case/test_mv_case.groovy b/regression-test/suites/correctness_p0/test_mv_case/test_mv_case.groovy index 0940f817a8de27..8e548eb27ea87c 100644 --- a/regression-test/suites/correctness_p0/test_mv_case/test_mv_case.groovy +++ b/regression-test/suites/correctness_p0/test_mv_case/test_mv_case.groovy @@ -29,10 +29,10 @@ suite("test_mv_case") { "replication_allocation" = "tag.location.default: 1" );""" sql """DROP MATERIALIZED VIEW IF EXISTS ods_zn_dnt_max1 ON test_table_aaa2;""" - sql """create materialized view ods_zn_dnt_max1 as + createMV("""create materialized view ods_zn_dnt_max1 as select ordernum,max(dnt) as dnt from test_table_aaa2 group by ordernum - ORDER BY ordernum;""" + ORDER BY ordernum;""") sql """insert into test_table_aaa2 select 'cib2205045_1_1s','2023/6/10 3:55:33','{"DB1":168939,"DNT":"2023-06-10 03:55:33"}' ;""" sql """insert into test_table_aaa2 select 'cib2205045_1_1s','2023/6/10 3:56:33','{"DB1":168939,"DNT":"2023-06-10 03:56:33"}' ;""" sql """insert into test_table_aaa2 select 'cib2205045_1_1s','2023/6/10 3:57:33','{"DB1":168939,"DNT":"2023-06-10 03:57:33"}' ;"""