Repository navigation
Revert "Allow a SETTINGS clause without ENGINE in CREATE/ATTACH DATABASE" - #121144
clickhouse-gh[bot] wants to merge 1 commit into
Conversation
|
📊 Cloud Performance Report
This is a revert of CREATE/ATTACH DATABASE SETTINGS-without-ENGINE support: it only changes DDL parsing, the DatabaseFactory settings-dispatch path, and related docs/tests. TPC-H Q1 is a scan-and-aggregate SELECT that executes none of that code, so the flagged +24.0% cannot be attributed to this PR. The query's baseline is also intrinsically flaky (its history shows repeated shifts, and both source and base measurements were highly variable), which explains the swing, so it was downgraded to not_sure. No real per-query performance impact is expected from this change. clickbench🟢 No significant changes tpch_adapted_1_officialFlagged queries (1 of 22)
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
|
|
It was fixed in other PRs |
Pull request was closed
Reverts #118423
This pull request was reverted automatically by the
Revert CI regressionsjob, which found that itintroduced a failure that keeps happening on
master, and merged this revert without waitingfor checks so that
masteris usable again.Failure: test
05227_storage_settings_unknown_nameinStateless tests (amd_debug, parallel),Stateless tests (amd_release, parallel, 1/2),Stateless tests (amd_tsan, s3 storage, parallel, 3/3)Seen 16 times on 2
mastercommits in the last24 hours, between 2026-09-20 05:31:34 and 2026-09-20 06:47:51 UTC.
Most recent report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=db3f74fd8a064d71328979271a9ad49b38a60036&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_release%2C%20parallel%2C%201%2F2%29&name_1=Stateless%20tests%20%28amd_release%2C%20parallel%2C%201%2F2%29
Why this pull request:
The test was clean on direct
masterruns until merge commit1ed111c3867ce8cb7ae561eaa9d12944b60ee0d3, then started failing at0cc1c6303cca67187040180a168b9937e3897487(Merge pull request #118423) and kept failing on the next unrelated mergedb3f74fd8a064d71328979271a9ad49b38a60036. PR#118423changesInterpreterSetQuery::applySettingsFromQuerysoSETTINGS name = DEFAULTentries in mixedCREATEclauses are hoisted out ofdefault_settingswhen the name is a query setting. OnCREATE TABLE ... SETTINGS disk = 'default', max_threads = DEFAULTand afterSET custom_x = 1, that now stripsmax_threads = DEFAULTandcustom_x = DEFAULTfrom the table AST, soSHOW CREATE TABLEno longer prints them. That exactly matches the CI diff in05227_storage_settings_unknown_name, and the failure is still present on the newest checked-outmastercommit.A draft pull request reintroducing the change is opened right after this one is merged, so the change
can come back through normal CI once the failure is fixed. Every investigation this job makes,
including the ones that revert nothing, is recorded in the
checks_investigatedtable of the CIdatabase.
If this revert is wrong, say so here and bring the change back: the job errs towards reverting
because a broken
masterblocks everybody, not because its judgement beats yours.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Workflow [PR]
Sync PR [sync-upstream/pr/121144]