Skip to content

Backport #116129 to 26.7: Fix iceberg identity partitioned reading - #116676

Closed
robot-ch-test-poll2 wants to merge 4 commits into
26.7from
backport/26.7/116129
Closed

robot-ch-test-poll2 wants to merge 4 commits into
26.7from
backport/26.7/116129

Conversation

@robot-ch-test-poll2

Copy link
Copy Markdown
Contributor

Original pull-request #116129
Cherry-pick pull-request #116575

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

@robot-ch-test-poll2 robot-ch-test-poll2 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 27, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [143db7f]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan_ubsan, distributed plan, parallel) FAIL
Server died FAIL cidb
Logical error: 'Bucket 4 is pushed twice' (STID: 2508-47d5) FAIL cidb
Integration tests (amd_asan_ubsan, db disk, old analyzer, 4/6) FAIL
test_storage_iceberg_no_spark/test_identity_partition_column_projection.py::test_identity_partition_column_with_row_policy FAIL cidb
test_storage_iceberg_no_spark/test_identity_partition_column_projection.py::test_identity_partition_column_renamed_after_write FAIL cidb
Integration tests (amd_tsan, 4/6) FAIL
test_storage_iceberg_no_spark/test_identity_partition_column_projection.py::test_identity_partition_column_with_row_policy FAIL cidb
test_storage_iceberg_no_spark/test_identity_partition_column_projection.py::test_identity_partition_column_renamed_after_write FAIL cidb

…r` here

The cherry-pick left both the pre-existing `return
std::make_shared<FormatFilterInfo>(...)` and master's tail that
assigns `result->current_schema_column_mapper` and returns `result`,
so the build failed on an undeclared `result`:

  error: use of undeclared identifier 'result'; did you mean 'arrow::Result'?

`current_schema_column_mapper` keeps the query-side mapper for
readers that resolve filter column names back to a field id
(GeoParquet spatial pruning). That member does not exist in this
branch, so the tail is dead code that cannot be carried over: drop
it, which leaves the same shape as `backport/26.3/116129`.
The branch was 351 commits behind and GitHub reported it
`CONFLICTING`, which is why it had no CI at all.

Two conflicts, both resolved in favour of this pull request because
26.7 has nothing of it there:

- `Compaction.cpp`: keep the four-argument `IcebergDataObjectInfo`,
  whose fourth argument
  (`Iceberg::getIdentityPartitionColumnValues`) is what this change
  adds; 26.7 only reflowed the three-argument call onto one line.
- `StorageObjectStorageSource.cpp`: keep the identity-partition
  helpers (`readsIdentityPartitionColumn`,
  `substituteIdentityPartitionColumns`,
  `buildIdentityPartitionColumnsDag`).
@maxknv
maxknv deleted the backport/26.7/116129 branch November 13, 2026 13:03
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.

5 participants