Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reading of nested tuples #33956

Merged
merged 2 commits into from Jan 27, 2022

Conversation

CurtizJ
Copy link
Member

@CurtizJ CurtizJ commented Jan 24, 2022

Changelog category (leave one):

  • Bug Fix (user-visible misbehaviour in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix crash while reading of nested tuples. Fixes #33838.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Jan 24, 2022
@@ -156,8 +156,15 @@ MutableColumnPtr DataTypeTuple::createColumn() const

MutableColumnPtr DataTypeTuple::createColumn(const ISerialization & serialization) const
{
const auto & element_serializations =
assert_cast<const SerializationTuple &>(serialization).getElementsSerializations();
const auto * current_serialization = &serialization;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no comments.
I opened SerializationNamed.h and there are no comments either.

@alexey-milovidov alexey-milovidov self-assigned this Jan 24, 2022
@alexey-milovidov alexey-milovidov merged commit cd2305e into ClickHouse:master Jan 27, 2022
@CurtizJ CurtizJ added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Jan 28, 2022
CurtizJ added a commit that referenced this pull request Jan 29, 2022
Backport #33956 to 22.1: Fix reading of nested tuples
@Felixoid Felixoid added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Null pointer exception - server crash selecting Tuple
4 participants