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

   ### What problem does this PR solve?
   
   Related PR: #60793
   
   Problem Summary:
   Wildcard queries (*, ?) on variant subcolumns with multiple inverted indexes 
(one without analyzer, one with standard/lowercase analyzer) previously 
returned empty results even when regular TERM search worked correctly.
   
   This PR adds a regression test 
(`test_search_variant_wildcard_custom_analyzer`) to verify the fix from #60793 
with a more realistic scenario matching the HubSpot contacts table pattern:
   - Variant column with dual field_pattern indexes (none + standard/lowercase)
   - firstname/lastname stored in variant subcolumns (`string_8`, `string_17`)
   - 13 test cases covering: TERM baseline, leading/middle/trailing/single-char 
wildcards, cross-field AND, and match-all wildcard
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [x] Regression test
       - [ ] Unit Test
       - [ ] Manual test (add detailed scripts or steps below)
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [x] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
   - Behavior changed:
       - [x] No.
       - [ ] Yes.
   
   - Does this need documentation?
       - [x] No.
       - [ ] Yes.
   
   ### Check List (For Reviewer who merge this PR)
   
   - [ ] Confirm the release note
   - [ ] Confirm test cases
   - [ ] Confirm document
   - [ ] Add branch pick label


-- 
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