Skip to content

Commit

Permalink
[regression-test](fix) fix variant case can not load (#46793)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuke987 authored Jan 10, 2025
1 parent 42808a0 commit bd64566
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
"""

Expand Down
4 changes: 2 additions & 2 deletions regression-test/suites/variant_github_events_p2/load.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bd64566

Please sign in to comment.