Skip to content

Commit 654327b

Browse files
committed
[fix](regression) Pin Variant mode in search document ID test
### What problem does this PR solve? Issue Number: None Related PR: #68758, #69244 Problem Summary: Fuzzy sessions can enable Variant document mode for test_search_segment_document_ids, while parse_to_variant() produces a non-document Variant value. INSERT then fails before the document ID checks run. Explicitly disable document mode for this fixture. ### Release note None ### Check List (For Author) - Test: The official regression runner reproduced the conversion error with the inherited document-mode default enabled. After the fix, the existing suite passed all 16 V2/SNII golden checks with the same input. Validation used an isolated existing branch-4.2 ASAN FE/BE runtime. - Behavior changed: No production behavior changes. - Does this need documentation: No.
1 parent 01e735b commit 654327b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎regression-test/suites/search/test_search_segment_document_ids.groovy‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
// Force multiple CLucene partitions while keeping query bitmaps in the segment document domain.
1919
suite("test_search_segment_document_ids", "p0,nonConcurrent") {
20+
sql "SET default_variant_enable_doc_mode = false"
2021
sql "SET default_variant_doc_materialization_min_rows = 0"
2122
setBeConfigTemporary([inverted_index_max_buffered_docs: "2"]) {
2223
for (String format : ["V2", "SNII"]) {

0 commit comments

Comments
 (0)