This is an automated email from the ASF dual-hosted git repository.
lijibing pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 0a7af9757bc [fix](p0)Fix case timeout. (#40788) (#41321)
0a7af9757bc is described below
commit 0a7af9757bceab1dec64b5c11814ee07b251a8f7
Author: Jibing-Li <[email protected]>
AuthorDate: Thu Sep 26 11:56:35 2024 +0800
[fix](p0)Fix case timeout. (#40788) (#41321)
backport: https://github.com/apache/doris/pull/40788
---
regression-test/suites/statistics/test_analyze_mv.groovy | 1 +
regression-test/suites/statistics/test_select_mv.groovy | 9 ++-------
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/regression-test/suites/statistics/test_analyze_mv.groovy
b/regression-test/suites/statistics/test_analyze_mv.groovy
index 661dc0e5510..d7cef1b38a8 100644
--- a/regression-test/suites/statistics/test_analyze_mv.groovy
+++ b/regression-test/suites/statistics/test_analyze_mv.groovy
@@ -111,6 +111,7 @@ suite("test_analyze_mv") {
sql """drop database if exists test_analyze_mv"""
sql """create database test_analyze_mv"""
sql """use test_analyze_mv"""
+ sql """set global enable_auto_analyze=false"""
sql """CREATE TABLE mvTestDup (
key1 bigint NOT NULL,
diff --git a/regression-test/suites/statistics/test_select_mv.groovy
b/regression-test/suites/statistics/test_select_mv.groovy
index 8c3417cb4b9..b6a8697fa7f 100644
--- a/regression-test/suites/statistics/test_select_mv.groovy
+++ b/regression-test/suites/statistics/test_select_mv.groovy
@@ -67,9 +67,7 @@ suite("test_select_mv") {
);
"""
- sql """
- create materialized view dup1 as select key2, sum(value) from test_dup
group by key2;
- """
+ createMV("create materialized view dup1 as select key2, sum(value) from
test_dup group by key2;")
sql """CREATE TABLE test_agg (
key1 int NOT NULL,
@@ -83,10 +81,7 @@ suite("test_select_mv") {
);
"""
- sql """
- create materialized view agg1 as select key2, sum(value) from test_agg
group by key2;
- """
- wait_mv_finish("test_select_mv")
+ createMV("create materialized view agg1 as select key2, sum(value) from
test_agg group by key2;")
sql """insert into test_dup values (1, 1, 1), (2, 2, 2)"""
sql """insert into test_dup values (1, 1, 1), (2, 2, 2)"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]