Repository navigation
Backport #102033 to 26.3: Fix LOGICAL_ERROR crash in IcebergMetadata::iterate when datalake_table_state is missing - #114383
Merged
Merged
Conversation
…:iterate when datalake_table_state is missing
Contributor
|
Workflow [BackportPR], commit [b301d83] Summary: ✅ |
On 26.3 virtual columns live on IStorage, not inside
StorageInMemoryMetadata (that migration happened on master after 26.3),
so the cherry-picked code failed to build:
StorageObjectStorage.cpp:476:39: error: no member named 'withVirtuals' in 'DB::StorageInMemoryMetadata'
Recompute the virtual columns from the rebuilt columns and pass them
explicitly to the StorageSnapshot constructor instead, which is the
equivalent of master's withVirtuals on this branch.
Build log: https://s3.amazonaws.com/clickhouse-test-reports/PRs/114383/19f74030d46e9749e828db8f9e526a1c5ac07874/build_amd_debug/build_clickhouse/build_clickhouse.log
Co-Authored-By: Claude Fable 5 <[email protected]>
…on 26.3 `04306_delta_lake_merge_missing_table_state` failed in CI with `Unknown table expression identifier`: the branch has no `tests/queries/0_stateless/data_delta_lake/struct_column_mapping` dataset (it was added to `master` by a later pull request), so the `cp -r` copied nothing and `CREATE TABLE ... ENGINE = DeltaLakeLocal` failed before the read. The files are copied verbatim from `master`; they are identical to the state at the merge commit of the original pull request #102033. Verified with the 26.3 build of this pull request: the failpoint-guarded read returns the expected `1` / `2`. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=114383&sha=0925d7c93148d0914652ed32e40cf3b18bdf669b&name_0=BackportPR Pull request: #114383
Member
|
🕵 Refreshed this backport with the current |
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.
Original pull-request #102033
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
Version info
26.3.18.32