This is an automated email from the ASF dual-hosted git repository. airborne pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new ecfb3d086a9 [Fix](test) add sync to bloom filter test case (#43840) ecfb3d086a9 is described below commit ecfb3d086a9681a49046ff208ec98323c8e6d9a2 Author: airborne12 <jiang...@selectdb.com> AuthorDate: Wed Nov 13 14:14:16 2024 +0800 [Fix](test) add sync to bloom filter test case (#43840) ### What problem does this PR solve? Problem Summary: try to fix bloomfilter case fail by adding sync command --- .../suites/bloom_filter_p0/test_bloom_filter_drop_column.groovy | 4 ++++ .../bloom_filter_p0/test_bloom_filter_hit_with_renamed_column.groovy | 2 ++ 2 files changed, 6 insertions(+) diff --git a/regression-test/suites/bloom_filter_p0/test_bloom_filter_drop_column.groovy b/regression-test/suites/bloom_filter_p0/test_bloom_filter_drop_column.groovy index 39c4cdb6141..f426d4fca10 100644 --- a/regression-test/suites/bloom_filter_p0/test_bloom_filter_drop_column.groovy +++ b/regression-test/suites/bloom_filter_p0/test_bloom_filter_drop_column.groovy @@ -74,12 +74,14 @@ suite("test_bloom_filter_drop_column") { } sql """INSERT INTO ${table_name} values ('1', '1')""" + sql "sync" qt_select """select * from ${table_name} order by a""" // drop column c1 sql """ALTER TABLE ${table_name} DROP COLUMN c1""" wait_for_latest_op_on_table_finish(table_name, timeout) + sql "sync" // show create table with retry logic assertShowCreateTableWithRetry(table_name, "\"bloom_filter_columns\" = \"\"", 3, 30) @@ -87,9 +89,11 @@ suite("test_bloom_filter_drop_column") { // add new column c1 sql """ALTER TABLE ${table_name} ADD COLUMN c1 ARRAY<STRING>""" wait_for_latest_op_on_table_finish(table_name, timeout) + sql "sync" // insert data sql """INSERT INTO ${table_name} values ('2', null)""" + sql "sync" // select data qt_select """select * from ${table_name} order by a""" } diff --git a/regression-test/suites/bloom_filter_p0/test_bloom_filter_hit_with_renamed_column.groovy b/regression-test/suites/bloom_filter_p0/test_bloom_filter_hit_with_renamed_column.groovy index 059d7c95445..ef45cd88b92 100644 --- a/regression-test/suites/bloom_filter_p0/test_bloom_filter_hit_with_renamed_column.groovy +++ b/regression-test/suites/bloom_filter_p0/test_bloom_filter_hit_with_renamed_column.groovy @@ -112,6 +112,7 @@ suite("test_bloom_filter_hit_with_renamed_column") { sql """ SET enable_profile = true """ sql """ set parallel_scan_min_rows_per_scanner = 2097152; """ + sql "sync" //sql """ select C_COMMENT_NEW from ${tableName} where C_COMMENT_NEW='OK' """ // get and check profile with retry logic @@ -122,6 +123,7 @@ suite("test_bloom_filter_hit_with_renamed_column") { int attempt = 0 while (attempt < maxRetries) { + sql "sync" sql """ ${query} """ profiles = httpGet(profileUrl) log.info("profiles attempt ${attempt + 1}: {}", profiles) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org