This is an automated email from the ASF dual-hosted git repository. hellostephen pushed a commit to branch branch-2.1 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push: new 1618b840467 [regression-test](fix) fix variant case bug (#46813) 1618b840467 is described below commit 1618b84046754c2d9cee6100bbd2d84e4878222c Author: shuke <sh...@selectdb.com> AuthorDate: Sat Jan 11 11:04:42 2025 +0800 [regression-test](fix) fix variant case bug (#46813) --- .../test_show_nested_index_file_http_action_with_variant.groovy | 4 ++-- regression-test/suites/variant_github_events_new_p2/load.groovy | 2 +- regression-test/suites/variant_github_events_p2/load.groovy | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/regression-test/suites/inverted_index_p0/test_show_nested_index_file_http_action_with_variant.groovy b/regression-test/suites/inverted_index_p0/test_show_nested_index_file_http_action_with_variant.groovy index 865b6f1c1c2..cf243f70d5d 100644 --- a/regression-test/suites/inverted_index_p0/test_show_nested_index_file_http_action_with_variant.groovy +++ b/regression-test/suites/inverted_index_p0/test_show_nested_index_file_http_action_with_variant.groovy @@ -64,7 +64,7 @@ suite("test_show_nested_index_file_http_action_with_variant", "nonConcurrent,p0" def tableName = "test_show_nested_index_file_http_action_with_variant_" + format master_multi_sql """ - DROP TABLE IF EXISTS ${tableName}"; + DROP TABLE IF EXISTS ${tableName}; set disable_inverted_index_v1_for_variant = false; CREATE TABLE IF NOT EXISTS ${tableName} ( k bigint, @@ -74,7 +74,7 @@ suite("test_show_nested_index_file_http_action_with_variant", "nonConcurrent,p0" DUPLICATE KEY(`k`) DISTRIBUTED BY HASH(k) BUCKETS 1 properties("replication_num" = "1", "disable_auto_compaction" = "true", "inverted_index_storage_format" = "${format}"); - set disable_inverted_index_v1_for_variant = true + set disable_inverted_index_v1_for_variant = true; """ load_json_data.call(tableName, """${getS3Url() + '/regression/gharchive.m/2015-01-01-0.json'}""") diff --git a/regression-test/suites/variant_github_events_new_p2/load.groovy b/regression-test/suites/variant_github_events_new_p2/load.groovy index ed87cd6c35b..4291747f2d2 100644 --- a/regression-test/suites/variant_github_events_new_p2/load.groovy +++ b/regression-test/suites/variant_github_events_new_p2/load.groovy @@ -65,7 +65,7 @@ suite("regression_test_variant_github_events_p2", "nonConcurrent,p2"){ ) DUPLICATE KEY(`k`) DISTRIBUTED BY HASH(k) BUCKETS 4 - properties("replication_num" = "1", "disable_auto_compaction" = "false"); + properties("replication_num" = "1", "disable_auto_compaction" = "false", "inverted_index_storage_format"= "v2"); """ // 2015 load_json_data.call(table_name, """${getS3Url() + '/regression/gharchive.m/2015-01-01-0.json'}""") diff --git a/regression-test/suites/variant_github_events_p2/load.groovy b/regression-test/suites/variant_github_events_p2/load.groovy index 84cf971353b..5a38219a205 100644 --- a/regression-test/suites/variant_github_events_p2/load.groovy +++ b/regression-test/suites/variant_github_events_p2/load.groovy @@ -169,7 +169,7 @@ suite("regression_test_variant_github_events_p2", "nonConcurrent,p2"){ // build inverted index at middle of loading the data // ADD INDEX - sql """ ALTER TABLE github_events ADD INDEX idx_var (`v`) USING INVERTED PROPERTIES("parser" = "english", "support_phrase" = "true", "inverted_index_storage_format"= "v2") """ + sql """ ALTER TABLE github_events ADD INDEX idx_var (`v`) USING INVERTED PROPERTIES("parser" = "english", "support_phrase" = "true") """ wait_for_latest_op_on_table_finish("github_events", timeout) // 2022 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org