Skip to content

branch-4.1: [enhance](variant) add condition cache for variant type #60532#61542

Merged
yiguolei merged 1 commit intobranch-4.1from
auto-pick-60532-branch-4.1
Mar 20, 2026
Merged

branch-4.1: [enhance](variant) add condition cache for variant type #60532#61542
yiguolei merged 1 commit intobranch-4.1from
auto-pick-60532-branch-4.1

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #60532

`select count() from table where profile['id'] > 100`

When `profile` is a variant type, the column name for this column is
`profile.id`, which can be used to distinguish different sub-columns
within the variant. This also serves as the key for the condition cache.
@github-actions github-actions bot requested a review from yiguolei as a code owner March 20, 2026 03:08
@hello-stephen
Copy link
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?

@dataroaring dataroaring reopened this Mar 20, 2026
@hello-stephen
Copy link
Contributor

run buildall

@hello-stephen
Copy link
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 52.63% (19446/36951)
Line Coverage 36.06% (181350/502907)
Region Coverage 32.56% (140468/431363)
Branch Coverage 33.48% (61206/182793)

@hello-stephen
Copy link
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 71.04% (25696/36170)
Line Coverage 53.88% (270095/501265)
Region Coverage 51.28% (223279/435402)
Branch Coverage 52.70% (96633/183361)

@yiguolei yiguolei merged commit adc9ef4 into branch-4.1 Mar 20, 2026
27 of 29 checks passed
Sign up for free to 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.

4 participants