Repository navigation
Add a TPC-DS performance test over Iceberg - #130763
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Workflow [PR], commit [6e0f7cc] Summary: ✅
AI ReviewSummaryAdds a TPC-DS SF1 benchmark using 24 temporary Missing context / blind spots
Final VerdictStatus: ✅ Approve. No changes requested from static review. |
murphy-4o
marked this pull request as ready for review
November 11, 2026 12:06
Merged
via the queue into
ClickHouse:master
with commit Nov 12, 2026
af5c835
370 of 371 checks passed
valerypetrov
pushed a commit
to valerypetrov/ClickHouse
that referenced
this pull request
Nov 17, 2026
`iceberg_suite_local_tpcds_sf100.xml` runs the 98 queries of `iceberg_suite_local_tpcds.xml` (SF1) over Iceberg copies of the `tpcds_sf100.xml` tables. The data is loaded from the same `ds/scale_100` files into MergeTree staging tables, copied to `IcebergLocal` tables under `user_files` in primary-key order with one insert stream (about 1M rows per data file, the same files on both servers), and the staging tables are dropped before the queries. `use_datalake_metadata_statistics = 1` lets the Iceberg manifest statistics reach join reordering, which the test exists to measure. The copies are `IcebergLocal` tables under `user_files`, as in `iceberg_suite_local_tpcds.xml`. A dropped table keeps its files; the nightly removes them after every test (`cleanup_user_files` in `ci/jobs/performance_tests.py`). The test is tagged `long` and pinned to `NightlyExtendedPerformance` batch `2/4`. No SF10 variant: the public `ds/scale_10` files are mostly copies of `ds/scale_1`. Related: ClickHouse#123553, ClickHouse#130763 Co-Authored-By: Claude Opus 5.5 <[email protected]>
mosya415
pushed a commit
to mosya415/ClickHouse
that referenced
this pull request
Nov 22, 2026
The check of the tests a PR adds or changes (ClickHouse#129330) failed a PR only when a query's time grows run over run on the tested server. A test whose runs are noisy without a trend passed its own PR, and in master_head PR mode the report's own unstable/changed verdict never fails a PR. That is how system_clusters_replicated_databases (ClickHouse#122223) got in: tested-server spread (stddevPop / median of its runs) 0.41-2.1 in its PR, now > 0.5 on both master servers in about 99% of runs and the noisiest test on master. The check now also fails on an unstable query of such a test: - PR changes only files under tests/ and the reference is the performance reference build of the tested master commit's sources (find_prev_build's new third value; a reference of an older commit, as in about a quarter of PR jobs, does not count): both servers run the same code built the same way, so the report's verdict judges the test; fail on changed_fail or unstable_fail of report/all-queries.tsv. A query that failed on the reference server and ran only on the tested one is not in that file; it is judged by the rule below. - Any other PR or reference (code changes, the official-build fallback, or an older reference): the report measures the PR's change, not the test (the floors flag 79% of the heads of the 214 code PRs that changed a perf test in 2026-11-12..21, their own speedups). Fail when stddevPop / median of the tested server's runs is above 0.5 (at least 5 runs). A spread the change causes also fails: after the merge both master servers run that code. The bar 0.5 flags 0.5% of those code-PR heads and 0.2% of quiet tests' master heads (CIDB backtest), and all 4 jobs of ClickHouse#122223. A query the trend check already reports gets only its trend row. The reading loop of find_run_trends moves to read_query_runs, shared by both checks; run_trend_gate becomes changed_tests_gate. Validated locally on downloaded job logs (no test of the test infrastructure): ClickHouse#122223's 4 jobs fail (the old check passes them); the new tests of ClickHouse#129328, ClickHouse#124553, ClickHouse#131203 (code PRs) and the tests-only ClickHouse#130763, ClickHouse#129627 pass; the run-trend output is unchanged on all 1754 tests of 14 jobs. Related: ClickHouse#100759 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Description
Adds
iceberg_suite_local_tpcds.xml: the 98 queries and settings oftpcds.xmlover anIcebergLocalcopy of thetpcdsSF1 dataset, so Iceberg reads get a TPC-DS benchmark next to the MergeTree one. The perf suites have only TPC-H on Iceberg so far.Workflow [PR]
Sync PR [sync-upstream/pr/130763]
Version info
26.11.1.2058-master(included in26.11and later)