airborne12 opened a new pull request, #71207:
URL: https://github.com/apache/doris/pull/71207

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #70151
   
   PR Type: Test
   
   Problem Summary:
   
   Cherry-pick of #70151 to branch-4.1.
   
   `test_match_keyword_score` came to branch-4.1 with #69791, but its fix 
#70151 did not. CI fuzzes `default_variant_max_subcolumns_count` 
(`random.nextInt(10)` on branch-4.1). With a limit below the three paths of the 
test table, path `p` moves to the sparse column, which has no index, so 
`V2_variant_sparse_path` scores 0 instead of 0.980829. This fails cloud_p0 at 
random on branch-4.1, for example in #71020 and #71177, which do not touch this 
code. The test now sets the limit to 0, which means no limit.
   
   Pick type: cherry-pick with one conflict, in a comment. The two comment 
lines above the change are worded differently on branch-4.1 ("aborting the BE" 
instead of "failing"). I kept the branch-4.1 wording and added the new comment 
and the `SET` statement unchanged.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test:
       - [x] Regression test: the change only adds a `SET` to this suite. Not 
run locally; CI runs it.
       - `default_variant_max_subcolumns_count` exists on branch-4.1 
(`SessionVariable.DEFAULT_VARIANT_MAX_SUBCOLUMNS_COUNT`), and 0 means every 
path is materialized (`ColumnVariant::_max_subcolumns_count == 0`).
   
   - Behavior changed:
       - [x] No.
   
   - Does this need documentation?
       - [x] No.
   
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to