Skip to content

Revert "Refuse Iceberg data compaction until it can publish its result" - #123508

Merged
arsenmuk merged 1 commit into
masterfrom
revert-114437-iceberg-refuse-unpublishable-data-compaction
Oct 3, 2026
Merged

arsenmuk merged 1 commit into
masterfrom
revert-114437-iceberg-refuse-unpublishable-data-compaction

Conversation

@arsenmuk

@arsenmuk arsenmuk commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Reverts #114437

The Iceberg compaction should be fixed instead of fail-closed


Workflow [PR]
Sync PR [sync-upstream/pr/123508]

Version info

  • Merged into: 26.10.1.1393-master (included in 26.10 and later)

@mintlify

mintlify Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Oct 2, 2026, 11:14 AM

@clickhouse-gh

clickhouse-gh Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [478f045]

Summary: ✅

@clickhouse-gh clickhouse-gh Bot added pr-not-for-changelog This PR should not be mentioned in the changelog comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. labels Oct 2, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

📊 Cloud Performance Report

⚠️ AI verdict: not_sure — no significant changes across 32 queries analysed

This PR turns Iceberg data compaction back on for OPTIMIZE TABLE when allow_experimental_iceberg_compaction is set. It also updates docs, setting descriptions and tests, and adds an OPTIMIZE query to the Iceberg write perf suite. Neither ClickBench nor TPC-H reads Iceberg tables, so the PR's code changes don't run in these benchmarks. Two TPC-H queries show faster times: Q1 at -20.0% and Q7 at -18.5%. Both stay not_sure because master's own history for these queries shifted on 2026-10-02, after the baseline period, so the faster times can't be credited to this PR. The run shows no performance regressions.

clickbench

🟢 No significant changes

tpch_adapted_1_official

⚠️ 2 inconclusive

Flagged queries (2 of 22)
Query Verdict Baseline median (ms) PR median (ms) Change q-value Hint
⚠️ 1 not_sure 65 52 -20.0% <0.0001 The -20.0% shift cannot be traced to this PR, which only changes the Iceberg OPTIMIZE path. Q1 reads a local table, and master's own history for this query shifted, so the baseline is unreliable.
⚠️ 7 not_sure 81 66 -18.5% <0.0001 Q7 never runs Iceberg compaction, so this PR cannot explain the -18.5%. The comparison baseline predates a level shift in master's history for this query.

Change = percent below ×2; the ratio of medians (×N faster/slower) beyond, where percent understates the scale. q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on.

Debug info
  • StressHouse run: ad161bfd-0b0e-4a8b-ae21-4ab7df02068f
  • MIRAI run: 21981849-062b-4449-8029-f602bd26a8ef
  • PR check IDs:
    • clickbench_2916809_1790954022
    • clickbench_2916822_1790954022
    • clickbench_2916828_1790954023
    • tpch_adapted_1_official_2916840_1790954022
    • tpch_adapted_1_official_2916865_1790954023
    • tpch_adapted_1_official_2916879_1790954023

@arsenmuk
arsenmuk added this pull request to the merge queue Oct 3, 2026
Merged via the queue into master with commit 3ade111 Oct 3, 2026
150 checks passed
@arsenmuk
arsenmuk deleted the revert-114437-iceberg-refuse-unpublishable-data-compaction branch October 3, 2026 06:52
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Oct 3, 2026
@clickhouse-gh clickhouse-gh Bot added comp-iceberg Apache Iceberg tables: reading and writing Iceberg metadata (snapshots, manifests, schema evoluti... and removed comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. labels Nov 22, 2026

This branch was successfully deployed

1 active deployment
staging - docs — 478f0455 Deployed Oct 2, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-iceberg Apache Iceberg tables: reading and writing Iceberg metadata (snapshots, manifests, schema evoluti... pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants