Skip to content

branch-4.0: [fix](query-cache) include variant subcolumn path in query cache digest #61709#61718

Open
github-actions[bot] wants to merge 1 commit intobranch-4.0from
auto-pick-61709-branch-4.0
Open

branch-4.0: [fix](query-cache) include variant subcolumn path in query cache digest #61709#61718
github-actions[bot] wants to merge 1 commit intobranch-4.0from
auto-pick-61709-branch-4.0

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #61709

…st (#61709)

Different variant subcolumn queries (e.g. data['int_1'] vs
data['int_nested']) were generating the same cache digest because
normalizeSelectColumns() only used the base column name. This caused
query cache to return wrong results when different subcolumns of the
same variant column were queried.

Fix: include the variant subcolumn path in the normalized select column
name so that different subcolumns produce different cache digests.
@github-actions github-actions bot requested a review from yiguolei as a code owner March 25, 2026 08:57
@Thearas
Copy link
Contributor

Thearas commented Mar 25, 2026

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 25, 2026
@Thearas
Copy link
Contributor

Thearas commented Mar 25, 2026

run buildall

@hello-stephen
Copy link
Contributor

FE UT Coverage Report

Increment line coverage 83.33% (5/6) 🎉
Increment coverage report
Complete coverage report

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