Repository navigation
Enable use_join_disjunctions_push_down by default - #89313
Merged
alexey-milovidov merged 6 commits intoJan 5, 2026
Merged
Conversation
Contributor
|
Workflow [PR], commit [26e1351] Summary: ❌
|
yariks5s
reviewed
Oct 31, 2025
Member
There was a problem hiding this comment.
Before we enable this setting, we need to merge the pull request with this commit, that keeps the order of JOINs, which now can lead to unexpected behaviour for some cases.
Upd: that PR is merged
Member
Author
This is suspicious, could be relevant to this pr. |
Member
|
I've managed to create a repro for it, https://fiddle.clickhouse.com/53932553-ff7d-4150-bb1f-ea5c2126a9c1 Working on it |
1 task
…ns_push_down-by-default
…ns_push_down-by-default
yariks5s
approved these changes
Jan 5, 2026
alexey-milovidov
deleted the
use_join_disjunctions_push_down-by-default
branch
January 5, 2026 17:20
alexey-milovidov
added a commit
that referenced
this pull request
Feb 15, 2026
The `onlyDependsOnAvailableColumns` function in the partial predicate push-down for JOINs did not check for `ARRAY_JOIN` nodes. This caused predicates containing `arrayJoin` to be incorrectly pushed down below a JOIN as a partial (speculative) filter, while the original filter above the JOIN was kept. The `arrayJoin` therefore executed twice -- once in the pushed-down filter and once in the original filter -- producing duplicate rows. The fix rejects any subgraph containing `ARRAY_JOIN` from being considered for partial predicate push-down. The bug was introduced in #84735 and exposed when the optimization was enabled by default in #89313. Closes #96398 Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 task
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.
This is follow-up for #84735
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The optimization use_join_disjunctions_push_down is enabled by default.