Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn#66659
Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn#66659
Conversation
| } | ||
|
|
||
| /// If nothing to deserialize, just insert defaults. | ||
| if (variant_limit == 0) |
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.
|
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
|
|
|
…ring reading variant subcolumn
…ring reading variant subcolumn
…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? https://github.com/ClickHouse/ClickHouse/pulls?q=is%3Apr+PARAMETER_OUT_OF_BOUND |
Backport #66659 to 24.5: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
Backport #66659 to 24.3: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
Backport #66659 to 24.6: Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn
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):