Repository navigation
Skip prewhere_subcolumn_read_steps and lazy_final_aggregation_in_order in the Iceberg configuration of the performance tests - #129658
Conversation
…e performance tests The test has a `JSON(max_dynamic_paths = 0)` column, which the Iceberg rewrite of the perf runner cannot map, so every Iceberg perf job that selects it fails with `IcebergRewriteError: Column j of type JSON(...) has no Iceberg equivalent` (6 PRs on 2026-11-05). It came from ClickHouse#124553, whose last CI run predates the Iceberg jobs running on the tests a PR adds (ClickHouse#128261), so it was never run in this configuration. Add it to the skip list with the reason `JSON column`, like prewhere_subcolumns.xml. Its other table (bucketed Map) measures a MergeTree-only PREWHERE read-step behaviour, so there is nothing to measure on Iceberg. Validated with test_discovery.test_runs_with_table_engine: 291 tests selected before, 290 after (this one removed). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (0 findings). No findings to adjudicate. Session id: cron:clickhouse-review-slot-8:20261106-010200 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-7:20261106-005600 |
|
cc @egor-click, could you review this and add the |
|
Workflow [PR], commit [2527729] Summary: ✅
AI ReviewSummaryPR #129658, reviewed at Final Verdict✅ Approve. No required changes or new inline findings. |
CI finish ledger - 0dfa6a4Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
Shards 1/3 and 2/3 of both Iceberg configurations pass on this head, and no shard reports the Session id: cron:our-pr-ci-monitor:20261106-040003 |
…the performance tests
The setup of the test asserts two active parts with
`throwIf(count() != 2) FROM system.parts`. The Iceberg configuration
rewrites its ReplacingMergeTree table to IcebergLocal/IcebergS3, which
has no rows in `system.parts`, so the setup fails with Code 395
("expected 2 active parts") and so does the whole Iceberg perf shard.
The test came with ClickHouse#123326, whose last CI run (2026-10-26) predates
ClickHouse#128261, which started running the Iceberg jobs on the tests a PR adds,
so it never ran in this configuration before it reached master.
The reason is the one of lazy_final_early_exit_limit.xml,
lazy_materialization_final_limit.xml and read_in_reverse_order_final.xml,
which have the same check over `system.parts` plus FINAL.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review of 2527729 by an independent model (engine: codex) and my own cold review: 0 findings. Session id: cron:clickhouse-review-slot-8:20261106-050900 |
Related: #124553
Related: #123326
Related: #128261
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The Iceberg configuration of the performance tests no longer runs
prewhere_subcolumn_read_steps, which has aJSONcolumn, andlazy_final_aggregation_in_order, which asserts the number of MergeTree parts.Description
Since #124553 merged, the Iceberg performance jobs that run every selected test fail with one error:
IcebergRewriteError: Column `j` of type JSON(max_dynamic_paths = 0) has no Iceberg equivalenthttps://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=129495&sha=fb710e1faad881fe9668fac524890985c0bc30f5&name_0=PR&name_1=Performance%20Comparison%20%28arm_release%2C%20master_head%2C%20iceberg_local%2C%201%2F3%29
On 2026-11-05 it hit 6 PRs within 75 minutes (
iceberg_localandiceberg_s3, shard 1/3).tests/performance/prewhere_subcolumn_read_steps.xmlcreates aJSON(max_dynamic_paths = 0)table, and the Iceberg rewrite has no mapping forJSON. The last CI run of #124553 was before #128261 started running the Iceberg jobs on the tests a PR adds, so this never ran there.The change adds the test to
tests/performance/iceberg_skip_list.txtwith the reasonJSON column, likeprewhere_subcolumns.xmlandprewhere_column_sizes_pruned_parts.xml. Its other table (bucketedMap) measures MergeTree read steps, so the test has nothing to measure on Iceberg.Since #123326 merged, the same jobs also fail on
lazy_final_aggregation_in_order(shard 3/3, both backends) withexpected 2 active parts(Code 395):https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=129658&sha=0dfa6a4916b39a506274260567a7b409d63c6843&name_0=PR&name_1=Performance%20Comparison%20%28arm_release%2C%20master_head%2C%20iceberg_s3%2C%203%2F3%29
Its setup checks
system.partsfor 2 active parts, and the rewritten Iceberg table has none. Its last CI run also predates #128261. It is added with the reason oflazy_final_early_exit_limit.xml, which has the same check.Validation: with
test_discovery.test_runs_with_table_engine, 291 tests were selected for the Iceberg configuration before the change and 289 after; the two tests above are the ones removed. None of the 289 readssystem.partsor callsthrowIf.Workflow [PR]
Sync PR [sync-upstream/pr/129658]
Version info
26.11.1.1492-master(included in26.11and later)