Fix assert failure in SimpleSquashingChunksTransform#72226
Merged
Conversation
Contributor
|
This is an automated comment for commit 2bea36c with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
nickitat
reviewed
Nov 21, 2024
src/Interpreters/Squashing.cpp
Outdated
| for (size_t j = 0; j != num_columns; ++j) | ||
| { | ||
| have_same_serialization[j] &= ISerialization::getKind(*columns[j]) == ISerialization::getKind(*mutable_columns[j]); | ||
| have_same_serialization[j] &= columns[j]->structureEquals(*mutable_columns[j]); |
Member
There was a problem hiding this comment.
it deserves a comment explaining that difference in sparse-ness might be found within the column nested types (in case of Tuple), so we cannot just compare sparse-ness of the columns itself.
Member
Author
There was a problem hiding this comment.
01172_transaction reproduces the issue #72174 (comment)
Not really stable, though. I'll try to create isolated one
Member
Author
|
f0b729c to
c4329bf
Compare
nickitat
approved these changes
Nov 22, 2024
Member
|
maybe let's convert to bug-fix and backport |
21 tasks
robot-ch-test-poll1
added a commit
that referenced
this pull request
Nov 25, 2024
Cherry pick #72226 to 24.11: Fix assert failure in SimpleSquashingChunksTransform
robot-clickhouse
added a commit
that referenced
this pull request
Nov 25, 2024
robot-ch-test-poll2
added a commit
that referenced
this pull request
Nov 25, 2024
Backport #72226 to 24.11: Fix assert failure in SimpleSquashingChunksTransform
robot-ch-test-poll3
added a commit
that referenced
this pull request
Dec 23, 2024
Cherry pick #72226 to 24.10: Fix assert failure in SimpleSquashingChunksTransform
robot-clickhouse
added a commit
that referenced
this pull request
Dec 23, 2024
CurtizJ
added a commit
that referenced
this pull request
Dec 24, 2024
Backport #72226 to 24.10: Fix assert failure in SimpleSquashingChunksTransform
azat
added a commit
to azat/ClickHouse
that referenced
this pull request
Sep 17, 2025
…t and non-const blocks It is possible to get const and non-const block after JOIN, so let's improve ClickHouse#72226 to convert column to full if the serilizations does not match, and add a test.
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Feb 13, 2026
Fix assert failure in SimpleSquashingChunksTransform
25 tasks
zvonand
added a commit
to Altinity/ClickHouse
that referenced
this pull request
Feb 20, 2026
…14/72226 24.8.14 Stable Backport of ClickHouse#72226: Fix assert failure in SimpleSquashingChunksTransform
zvonand
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Mar 17, 2026
Fix assert failure in SimpleSquashingChunksTransform
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 to CHANGELOG.md):
SimpleSquashingChunksTransformthat occurred in rare cases when processing sparse columnsFix #72174
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):