Repository navigation
Backport #117699 to 26.7: Reject the Detached serialization kind in data received from a client - #121379
Merged
Conversation
…ata received from a client
Contributor
|
Workflow [BackportPR], commit [63ae278] Summary: ✅ |
`setFromBLOBTask` and the one-argument `ColumnBLOB` constructor exist only on master. On 26.7 the task is passed to the constructor, so build the column with `create(task, wrapped_column, rows)`, the same call `SerializationDetached` makes. Fixes every build of #121379: src/Columns/tests/gtest_column_blob.cpp:16:11: error: no member named 'setFromBLOBTask' in 'DB::ColumnBLOB' src/Common/COW.h:293:71: error: no matching constructor for initialization of 'DB::ColumnBLOB' Report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=121379&sha=b9de801eafdbde70d8c7a7c5adac07296292c0a3&name_0=BackportPR&name_1=Build%20%28amd_debug%29 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
KochetovNicolai
added a commit
that referenced
this pull request
Sep 22, 2026
`setFromBLOBTask` and the one-argument `ColumnBLOB` constructor exist only
on master. On 26.3 the task is passed to the constructor, so build the
column with `create(task, wrapped_column, rows)`, the same call
`SerializationDetached` makes.
Without this, every build fails with:
src/Columns/tests/gtest_column_blob.cpp:16:11: error: no member named
'setFromBLOBTask' in 'DB::ColumnBLOB'
src/Common/COW.h:293:71: error: no matching constructor for
initialization of 'DB::ColumnBLOB'
The 26.7 backport of the same change hit this, see the report of
#121379:
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=121379&sha=b9de801eafdbde70d8c7a7c5adac07296292c0a3&name_0=BackportPR&name_1=Build%20%28amd_debug%29
Related: #121610
Co-Authored-By: Claude Opus 5 (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 #117699
Cherry-pick pull-request #121318
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.7.14.19