Fix applying patch parts with query condition cache#90204
Merged
CurtizJ merged 1 commit intoClickHouse:masterfrom Nov 18, 2025
Merged
Fix applying patch parts with query condition cache#90204CurtizJ merged 1 commit intoClickHouse:masterfrom
CurtizJ merged 1 commit intoClickHouse:masterfrom
Conversation
Contributor
|
Workflow [PR], commit [60dec58] Summary: ❌
|
Michicosun
approved these changes
Nov 17, 2025
Member
Michicosun
left a comment
There was a problem hiding this comment.
Should we start caching the range for the resulting part after applying all the lightweight updates (for example, just change name of the part in cache)?
Member
Author
It's better to do this, but I don't want to implement it right now. We need to add more information to the key in the query condition cache. Perhaps we can simply write the part name with the mutation version, as we have applied the patch parts. |
Merged
via the queue into
ClickHouse:master
with commit Nov 18, 2025
ea48955
128 of 133 checks passed
This was referenced Nov 18, 2025
robot-clickhouse
added a commit
that referenced
this pull request
Feb 8, 2026
clickhouse-gh bot
added a commit
that referenced
this pull request
Feb 8, 2026
Backport #90204 to 25.8: Fix applying patch parts with query condition cache
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fixed possible incorrect query results after lightweight updates in
SELECTqueries with the enabled query condition cache. Fixes #90176. Fixes #90054.