This is an automated email from the ASF dual-hosted git repository.
airborne12 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 1a0f8940b47 [fix](regression) Pin Variant mode in search document ID
test (#69248)
1a0f8940b47 is described below
commit 1a0f8940b474723402b4800d2ac0e25fbe53948c
Author: Jack <[email protected]>
AuthorDate: Tue Oct 20 10:35:42 2026 +0800
[fix](regression) Pin Variant mode in search document ID test (#69248)
### What problem does this PR solve?
Issue Number: None
Related PR: #68758, #69244
Problem Summary: Fuzzy sessions can enable
`default_variant_enable_doc_mode` for
`test_search_segment_document_ids`. Its table then uses document mode,
while the `parse_to_variant()` values do not. INSERT fails with
`Conversion from Variant(... enable doc mode = false) to Variant(...
enable doc mode = true) is not supported` before the document ID
assertions run.
Explicitly disable document mode in this fixture so its V2 and SNII
checks do not depend on the inherited session default. This addresses
the [NonConcurrent failure in build
1072798](http://43.132.222.7:8111/viewLog.html?buildId=1072798&tab=buildLog).
---
regression-test/suites/search/test_search_segment_document_ids.groovy | 1 +
1 file changed, 1 insertion(+)
diff --git
a/regression-test/suites/search/test_search_segment_document_ids.groovy
b/regression-test/suites/search/test_search_segment_document_ids.groovy
index c579532493f..ed76e21ae13 100644
--- a/regression-test/suites/search/test_search_segment_document_ids.groovy
+++ b/regression-test/suites/search/test_search_segment_document_ids.groovy
@@ -17,6 +17,7 @@
// Force multiple CLucene partitions while keeping query bitmaps in the
segment document domain.
suite("test_search_segment_document_ids", "p0,nonConcurrent") {
+ sql "SET default_variant_enable_doc_mode = false"
sql "SET default_variant_doc_materialization_min_rows = 0"
setBeConfigTemporary([inverted_index_max_buffered_docs: "2"]) {
for (String format : ["V2", "SNII"]) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]