Antalya 26.6: Backport of 98178 Iceberg compaction using optimize - #2193
Antalya 26.6: Backport of 98178 Iceberg compaction using optimize#2193subkanthi wants to merge 7 commits into
Conversation
fc76726 to
9626fa1
Compare
test_storage_iceberg_with_trino/test.py::test_optimize_manifest_trino_field_ids
|
|
Multiple inserts to create manifests BEFORE: AFTER |
CI triage for #2193Verdict: 7 red checks — 0 caused by this PR's code. 6 are flaky/infra/pre-existing; 1 is the expected consequence of adding a new setting and is fixed in the Head SHA analyzed: Not PR-caused (flaky / infra / pre-existing)1. Stateless tests (amd_debug, parallel) — 3 sub-failures, all cleared by CI's own diagnosis:
2. Stateless tests (amd_debug, distributed plan, s3 storage, parallel)
3. SQLLogic test — 6 new failures vs 10,520 fixed. Every new failure is 4. Regression release settings — 1 of the 2 failing scenarios:
5. Regression release tiered_storage_cas — every failure is 6. Grype Scan (…-alpine) — 1 High: 7. PR — aggregate gate; red only because of the above. PR-related, but no code fix needed hereRegression release settings — the other failing scenario is This is the new setting this PR adds ( Concrete fix (in Suggested next steps
One coverage note (not a failure): all 🤖 automated CI triage · evidence from praktika |
ClickHouse#98178
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Add support for iceberg compaction of manifest files using optimize command.
Documentation entry for user-facing changes
Adds OPTIMIZE TABLE ... MANIFEST to trigger manifest-only compaction for Iceberg tables, backport of ClickHouse#98178
This PR covers rewriting manifest files. The default value is 30, but can be overwritten using
iceberg_manifest_min_count_to_compact. The setting is the threshold: compaction runs only if the current snapshot's manifest list contains strictly more than this many manifest files. Setting this value to 0 means "always compact"CI/CD Options
Exclude tests:
Regression jobs to run: