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 bd64566afab [regression-test](fix) fix variant case can not load
(#46793)
bd64566afab is described below
commit bd64566afab7996b921e35c9425811bb39b27b4a
Author: shuke <[email protected]>
AuthorDate: Fri Jan 10 20:14:30 2025 +0800
[regression-test](fix) fix variant case can not load (#46793)
---
regression-test/suites/variant_github_events_new_p2/load.groovy | 2 +-
regression-test/suites/variant_github_events_p2/load.groovy | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
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 545aec8eca8..ed87cd6c35b 100644
--- a/regression-test/suites/variant_github_events_new_p2/load.groovy
+++ b/regression-test/suites/variant_github_events_new_p2/load.groovy
@@ -88,7 +88,7 @@ suite("regression_test_variant_github_events_p2",
"nonConcurrent,p2"){
`v` text NULL,
INDEX idx_var (`v`) USING INVERTED PROPERTIES("parser" = "english")
COMMENT ''
) ENGINE = OLAP DUPLICATE KEY(`k`) COMMENT 'OLAP' DISTRIBUTED BY
HASH(`k`) BUCKETS 4 PROPERTIES (
- "replication_allocation" = "tag.location.default: 1"
+ "replication_allocation" = "tag.location.default: 1",
"inverted_index_storage_format"= "v2"
);
"""
diff --git a/regression-test/suites/variant_github_events_p2/load.groovy
b/regression-test/suites/variant_github_events_p2/load.groovy
index 372e7250ff4..84cf971353b 100644
--- a/regression-test/suites/variant_github_events_p2/load.groovy
+++ b/regression-test/suites/variant_github_events_p2/load.groovy
@@ -158,7 +158,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", "bloom_filter_columns" = "v");
+ properties("replication_num" = "1", "disable_auto_compaction" =
"false", "bloom_filter_columns" = "v", "inverted_index_storage_format"= "v2");
"""
set_be_config.call("variant_ratio_of_defaults_as_sparse_column", "1")
// 2015
@@ -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") """
+ sql """ ALTER TABLE github_events ADD INDEX idx_var (`v`) USING INVERTED
PROPERTIES("parser" = "english", "support_phrase" = "true",
"inverted_index_storage_format"= "v2") """
wait_for_latest_op_on_table_finish("github_events", timeout)
// 2022
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]