Skip to content

branch-4.0: [feature](search) add variant subcolumn suppport for search function #56718 - #57049

Merged
yiguolei merged 1 commit into
branch-4.0from
auto-pick-56718-branch-4.0
Oct 17, 2025
Merged

branch-4.0: [feature](search) add variant subcolumn suppport for search function #56718#57049
yiguolei merged 1 commit into
branch-4.0from
auto-pick-56718-branch-4.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #56718

…56718)
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #56139
Problem Summary:
This PR adds support for variant subcolumn access in search functions,
enabling search queries to target specific JSON paths within variant
columns using dot notation (e.g., field.subcolumn). The feature extends
the search DSL to handle variant data types with subcolumn paths,
allowing more granular search capabilities on semi-structured data.
```
SELECT * FROM test_variant_search_subcolumn WHERE search('variantColumn.subcolumn:textMatched');
```
@Thearas

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@Thearas

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

FE UT Coverage Report

Increment line coverage `` 🎉
Increment coverage report
Complete coverage report

@yiguolei
yiguolei merged commit a89097f into branch-4.0Oct 17, 2025
23 of 27 checks passed
@github-actions
github-actionsBot deleted the auto-pick-56718-branch-4.0 branch October 17, 2025 07:01
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@Thearas@hello-stephen@yiguolei@dataroaring@airborne12