-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(planner): improve push down filter join #14872
Merged
Dousir9
merged 61 commits into
databendlabs:main
from
Dousir9:refactor_push_down_filter_join
Mar 27, 2024
Merged
feat(planner): improve push down filter join #14872
Dousir9
merged 61 commits into
databendlabs:main
from
Dousir9:refactor_push_down_filter_join
Mar 27, 2024
Conversation
This file contains 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
Dousir9
changed the title
feat: improve push down filter join
feat(planner): improve push down filter join
Mar 7, 2024
github-actions
bot
added
the
pr-feature
this PR introduces a new feature to the codebase
label
Mar 7, 2024
…_push_down_filter_join
Dousir9
requested review from
leiysky and
xudong963
and removed request for
leiysky
March 18, 2024 17:19
xudong963
reviewed
Mar 20, 2024
leiysky
reviewed
Mar 22, 2024
11 tasks
…_push_down_filter_join
…_push_down_filter_join
xudong963
approved these changes
Mar 26, 2024
…_push_down_filter_join
yufan022
added a commit
to yufan022/databend
that referenced
this pull request
Apr 25, 2024
yufan022
pushed a commit
to yufan022/databend
that referenced
this pull request
Apr 25, 2024
* feat: improve push down filter join * fix: reverse operator when (constant, column_ref) * chore: add more test * chore: complete sqllogictest * fix: outer join push down * chore: remove z3 and add new method * chore: move * chore: refactor try push down filter join * chore: update sqllogictest * chore: update sqllogictest * chore: update sqllogictest * chore: fix push down single join * chore: update subquery * fix: after join reorder don not push down * chore: update native * chore: improve can_filter_null * chore: fix test * feat: improve infer and / or filter * chore: update native sqllogictest * chore: update sqllogictest * feat: add SingleToInnerOptimizer * chore: remove after_join_reorder * chore: fix outer join to inner join * test: update parquet explain sqllogictest * test: update native explain sqllogictest * chore: make lint code * chore: fix Cascades optimizer * chore: add z3-prove * chore: update sqllogictest * chore: fix infer filter for outer join * chore: update sqllogictest * chore: update ee test * chore: fix tpcds test * chore: update sqllogictest * chore: update ee test * chore: fix distributed query plan * chore: update sqllogictet * chore: update test comment * chore: add comments * chore: make lint * chore: update sqllogictest * chore: suuport more join type * chore: refine code * chore: add semi / anti test * chore: update sqllogictest * chore: improve infer filter * chore: update sqllogictest * chore: add more comments and remove useless code * chore: make lint * test: update memo sqllogictest * chore: update memo test * chore: update ee test
11 tasks
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.
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
select * from t1 left join t2 on t1.a = t2.a where t1.a > 0
, we can get new filtert2.a > 0
and use it to filter out more hash join build side data in advance;Tests
Type of change
This change is