Repository navigation
Backport #105996 to 26.3: Fix possible OOM due to a too-large string literal sent within the query - #106498
Merged
Conversation
…literal sent within the query
robot-clickhouse
force-pushed
the
backport/26.3/105996
branch
from
June 4, 2026 17:19
351b42e to
b7c045c
Compare
Contributor
|
Workflow [BackportPR], commit [d2cb515] Summary: ✅ |
1 task
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
The `26.3` build was broken with:
src/Storages/StorageFile.cpp:1658:22: error: field designator
'storage_id' does not refer to any field in type
'VirtualsForFileLikeStorage'
This was introduced by the backport of ClickHouse#105584 ("Honor
`cast_string_to_date_time_mode` for hive partition values"), which
cherry-picked a `.storage_id = storage->getStorageID()` initializer for
`VirtualsForFileLikeStorage`. On `master` that field exists because it
was added by ClickHouse#101409 ("Native Common Virtuals for File-Like"), but
ClickHouse#101409 was never backported to `26.3`, so the struct here has no
`storage_id` member and the designated initializer fails to compile.
`addRequestedFileLikeStorageVirtualsToChunk` on `26.3` never reads
`storage_id`, so removing the initializer is behavior-preserving and
restores the build for the whole release branch.
CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=106498&sha=b7c045c7bd5bb605b946fe1d77092a02ccef89bb&name_0=BackportPR
Surfaced on PR: ClickHouse#106498
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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.
Original pull-request #105996
Cherry-pick pull-request #106479
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.3.13.31