Skip to content

Cherry pick #87231 to 25.6: Fix "Too large size passed to allocator" UB in JOIN due to mixed const and non-const blocks#87433

Merged
robot-clickhouse merged 6 commits intobackport/25.6/87231from
cherrypick/25.6/87231
Sep 23, 2025
Merged

Cherry pick #87231 to 25.6: Fix "Too large size passed to allocator" UB in JOIN due to mixed const and non-const blocks#87433
robot-clickhouse merged 6 commits intobackport/25.6/87231from
cherrypick/25.6/87231

Conversation

@robot-clickhouse
Copy link
Copy Markdown
Member

Original pull-request #87231

Do not merge this PR manually

This pull-request is a first step of an automated backporting.
It contains changes similar to calling git cherry-pick locally.
If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.

The check results does not matter at this step - you can safely ignore them.

Troubleshooting

If the conflicts were resolved in a wrong way

If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

azat and others added 5 commits September 17, 2025 13:37
…t and non-const blocks

It is possible to get const and non-const block after JOIN, so let's
improve #72226 to convert column to full if the serilizations does not
match, and add a test.
Fix "Too large size passed to allocator" UB in JOIN due to mixed const and non-const blocks
@robot-clickhouse robot-clickhouse added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request pr-bugfix Pull request with bugfix, not backported by default labels Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request pr-bugfix Pull request with bugfix, not backported by default pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants