Repository navigation
Backport #128476 to 26.3: Check LowCardinality indexes against the dictionary when reading data parts - #128526
Conversation
…dictionary when reading data parts
|
Workflow [BackportPR], commit [4ac1c39] Summary: ✅ |
|
The 26.3 build fails only in the test this backport adds: A one-commit fix (2 lines in the test, a fast-forward of - auto column = type->createColumn();
- serialization->deserializeBinaryBulkWithMultipleStreams(*column, rows, settings, state, nullptr);
+ ColumnPtr column = type->createColumn();
+ serialization->deserializeBinaryBulkWithMultipleStreams(column, 0, rows, settings, state, nullptr);Checked on this branch with clang-21 (Debug, |
…eStreams signature
26.3's `ISerialization::deserializeBinaryBulkWithMultipleStreams` takes a `rows_offset`
argument that master dropped, so the backported `gtest_low_cardinality_serialization.cpp`
called it with 5 arguments instead of 6 ("too few arguments to function call, expected 6,
have 5"). Pass `rows_offset = 0` so the whole column is deserialized from the start, matching
the `serializeBinaryBulkWithMultipleStreams(column, 0, column.size(), ...)` call above it.
#128526
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=128526&sha=9d4ab398b3b4bdd7f059bbb2fa5e552712902681&name_0=BackportPR&name_1=Build%20%28amd_debug%29
Co-Authored-By: Claude Opus 4.8 <[email protected]>
…ryBulkWithMultipleStreams 26.3's `deserializeBinaryBulkWithMultipleStreams` takes `ColumnPtr & column` as its first argument, whereas master takes `IColumn &`; the backported test passed `*column` (an `IColumn &`), which cannot bind to `ColumnPtr &`. Hold the column as a `ColumnPtr` and pass it directly, as 26.3's own callers do (e.g. `SerializationDetached`). Completes the previous commit, which only added the `rows_offset` argument. #128526 https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=128526&sha=19312c0cc4c8f9306cfae883249fee2b3149c286&name_0=BackportPR&name_1=Build%20%28amd_debug%29 Co-Authored-By: Claude Opus 4.8 <[email protected]>
…eStreams signature
26.3's `ISerialization::deserializeBinaryBulkWithMultipleStreams` takes a `rows_offset`
argument that master dropped, so the backported `gtest_low_cardinality_serialization.cpp`
called it with 5 arguments instead of 6 ("too few arguments to function call, expected 6,
have 5"). Pass `rows_offset = 0` so the whole column is deserialized from the start, matching
the `serializeBinaryBulkWithMultipleStreams(column, 0, column.size(), ...)` call above it.
#128526
https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=128526&sha=9d4ab398b3b4bdd7f059bbb2fa5e552712902681&name_0=BackportPR&name_1=Build%20%28amd_debug%29
Co-Authored-By: Claude Opus 4.8 <[email protected]>
…ryBulkWithMultipleStreams 26.3's `deserializeBinaryBulkWithMultipleStreams` takes `ColumnPtr & column` as its first argument, whereas master takes `IColumn &`; the backported test passed `*column` (an `IColumn &`), which cannot bind to `ColumnPtr &`. Hold the column as a `ColumnPtr` and pass it directly, as 26.3's own callers do (e.g. `SerializationDetached`). Completes the previous commit, which only added the `rows_offset` argument. #128526 https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=128526&sha=19312c0cc4c8f9306cfae883249fee2b3149c286&name_0=BackportPR&name_1=Build%20%28amd_debug%29 Co-Authored-By: Claude Opus 4.8 <[email protected]>
Original pull-request #128476
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job