Skip to content

Backport #111617 to 26.6: Fix Iceberg trivial count bug - #119206

Merged
clickhouse-gh[bot] merged 1 commit into
26.6from
backport/26.6/111617
Sep 10, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.6from
backport/26.6/111617

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #111617
Cherry-pick pull-request #118575

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: 26.6.5.100

@robot-ch-test-poll3 robot-ch-test-poll3 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 Sep 10, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [e040bf4]

Summary: ✅

@clickhouse-gh
clickhouse-gh Bot merged commit 4751cf5 into 26.6 Sep 10, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.6/111617 branch September 10, 2026 14:40
@clickhouse-gh clickhouse-gh Bot added the external Author is not a member of the ClickHouse organization label Sep 11, 2026
@maxknv maxknv removed the external Author is not a member of the ClickHouse organization label Sep 11, 2026
PedroTadim added a commit that referenced this pull request Sep 15, 2026
Every build failed on

    Compaction.cpp:201: error: unused variable 'data_file_path' [-Werror,-Wunused-variable]

The cherry-pick brought the comment and the declaration of #111617's keying
fix as context of the changed constructor call, but not the code: the three
lookups still used `manifest_file.manifest_file_path`, which the comment right
above them explains makes every data file after the first in a manifest reuse
the first file's plan, so the rest of the manifest's data silently disappears
from the compacted table. 26.6 never received that part of #111617 (#119206
carried only the trivial-count fix), so `-Werror` caught a real hole, not a
stylistic one. Use `data_file_path` for the `contains` check and both map
accesses, which is what `master` does and how the 26.3 backport resolved the
same conflict.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
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