Skip to content

Backport #100407 to 25.8: Fix exception when Iceberg format version is upgraded by external tool - #112886

Merged
scanhex12 merged 2 commits into
25.8from
backport/25.8/100407
Aug 3, 2026
Merged

scanhex12 merged 2 commits into
25.8from
backport/25.8/100407

Conversation

@robot-clickhouse-ci-2

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #100407
Cherry-pick pull-request #112748

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

  • Merged into: 25.8.29.45

@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Aug 1, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 1, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [e4bb9e0]

The four tests added by this backport failed with
`cat: '': No such file or directory`: they looked for the table metadata
under `/var/lib/clickhouse/user_files/iceberg_data/default/<table>/metadata`,
which is the layout used on `master`. In 25.8 the Iceberg warehouse of
`test_storage_iceberg` lives at `/iceberg_data/default/<table>/`, both for
Spark and for `IcebergLocal` (`StorageLocalConfiguration` uses the given
path as-is, without a `user_files` prefix), so the listing was empty.

Also assert that the listing is non-empty, so a wrong path fails with a
clear message instead of a `cat` of an empty argument.

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=112886&sha=2cb5559f668f9d3bc3dc4f58607af666cf00ffbc&name_0=BackportPR
@scanhex12
scanhex12 merged commit 03f6433 into 25.8 Aug 3, 2026
34 checks passed
@scanhex12
scanhex12 deleted the backport/25.8/100407 branch August 3, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants