Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn#66659
Merged
Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn#66659
Conversation
Avogar
commented
Jul 17, 2024
| } | ||
|
|
||
| /// If nothing to deserialize, just insert defaults. | ||
| if (variant_limit == 0) |
Member
Author
There was a problem hiding this comment.
The problem was here. We didn't call nested_serialization->deserializeBinaryBulkWithMultipleStreams when there was 0 rows to read. But it's wrong, we should call it anywhay to seek the corresponding stream to the right mark if needed.
Contributor
|
This is an automated comment for commit bd29313 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
|
nikitamikhaylov
approved these changes
Jul 17, 2024
19 tasks
Member
Author
|
|
This was referenced Aug 6, 2024
robot-clickhouse
added a commit
that referenced
this pull request
Aug 9, 2024
…ring reading variant subcolumn
robot-clickhouse
added a commit
that referenced
this pull request
Aug 9, 2024
…ring reading variant subcolumn
robot-clickhouse
added a commit
that referenced
this pull request
Aug 9, 2024
…ring reading variant subcolumn
|
@nikitamikhaylov The backport to 24.3 is failing. We are hitting this issue and we need this fix as soon as possible. Any chance someone could look into it? |
robot-clickhouse
added a commit
that referenced
this pull request
Aug 15, 2024
Backport #66659 to 24.5: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
Avogar
added a commit
that referenced
this pull request
Aug 15, 2024
Backport #66659 to 24.3: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
Avogar
added a commit
that referenced
this pull request
Aug 21, 2024
Backport #66659 to 24.6: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
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):
Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn.
Closes #65319
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):