Skip to content

Commit 380912c

Browse files
authored
[fix](regression) Pin the VARIANT subcolumn limit in test_match_keyword_score (#70151)
1 parent b1720bd commit 380912c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎regression-test/suites/inverted_index_p0/test_match_keyword_score.groovy‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ suite("test_match_keyword_score", "p0") {
9999
// index, so CAST(v['n'] AS STRING) MATCH collects statistics for n; the BKD segment adds
100100
// none instead of failing, and its rows match without the index with score 0. p exists
101101
// only in the first insert: the other segment has no index for it and adds nothing.
102+
// Every path must be a subcolumn with its own index. CI fuzzes the subcolumn limit, and a
103+
// limit below the three paths moves the rest to the sparse column, which has no index and
104+
// scores 0; 0 is no limit.
105+
sql "set default_variant_max_subcolumns_count = 0"
102106
sql "set default_variant_enable_typed_paths_to_sparse = false"
103107
sql "set default_variant_enable_doc_mode = false"
104108
sql "DROP TABLE IF EXISTS test_match_keyword_score_variant"

0 commit comments

Comments
 (0)