Repository navigation
Revert "Unify the spill trigger for hash joins" - #119334
Merged
Merged
Conversation
Contributor
Author
yariks5s
enabled auto-merge
September 10, 2026 19:16
alexey-milovidov
disabled auto-merge
September 10, 2026 19:22
yariks5s
approved these changes
Sep 10, 2026
yariks5s
left a comment
Member
There was a problem hiding this comment.
i will re-land it with the fix after this one lands
This was referenced Sep 11, 2026
groeneai
added a commit
to groeneai/ClickHouse
that referenced
this pull request
Sep 11, 2026
Picks up the revert of ClickHouse#117356 (revert PR ClickHouse#119334, merge c46c19c), which is what reddened 05141_time_series_select_join_settings on this PR's CI run: the merge commit CI built was dispatched before that revert landed on master.
groeneai
added a commit
to groeneai/ClickHouse
that referenced
this pull request
Sep 11, 2026
05141_time_series_select_join_settings failed on this branch's CI because of master content, not this change: praktika builds the merge commit, and this head was dispatched after ClickHouse#117356 landed but before its revert ClickHouse#119334. Master now carries the revert.
This was referenced Sep 11, 2026
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.
Reverts #117356
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
05141_time_series_select_join_settingsinStateless tests (amd_debug, distributed plan, s3 storage, parallel),Stateless tests (amd_debug, parallel)Seen 19 times on 7
mastercommits in the last24 hours, between 2026-09-10 17:45:15 and 2026-09-10 18:15:48 UTC.
Most recent report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=9b9f4d3aa2ad319bfb9eaf773fc0490ca04dd3a2&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_debug%2C%20parallel%29&name_1=Stateless%20tests%20%28amd_debug%2C%20parallel%29
Why this pull request:
Direct master history shows clean passes for
05141_time_series_select_join_settingsthrough commitcb4187ec7f08108916faaa59b8102380b39b4475at2026-09-10 17:34:47UTC, then the first failures appear at2026-09-10 17:40:24UTC on commit85352a456ab8c86f3a7d22169f8f7c7880cb9105. The first-parent range between those points contains only two merges:a023513403c25376f58c8dd189dbe1fd1e793b7e(#117356) and85352a456ab8c86f3a7d22169f8f7c7880cb9105(#119026);#119026changes onlysrc/Functions/URL/domain.hand one MSan test, while#117356changes join selection andGraceHashJoinso standalonegrace_hashwithout a non-zero spill threshold now throwsBAD_ARGUMENTSunless legacy mode is enabled. That is exactly the failure seen in CI:05141_time_series_select_join_settingssetsjoin_algorithm = 'grace_hash',max_bytes_before_external_join = 0, andmax_bytes_ratio_before_external_join = 0, thenEXPLAIN PLAN SELECT * FROM ts_join_settingsnow fails fromGraceHashJoin.cpp:325with the new spill-threshold exception instead of producing twoGraceHashJoinplan nodes. The regression is still present on current master head9b9f4d3aa2ad319bfb9eaf773fc0490ca04dd3a2, so no merged fix is visible yet.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/119334]
Version info
26.9.1.1164(included in26.9and later)