-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Improve Expanding Lookup Join performance by pushing a filter to the right side of the lookup join #133166
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
Merged
julian-elastic
merged 39 commits into
elastic:main
from
julian-elastic:lookupPrefilterPushable
Sep 3, 2025
Merged
Improve Expanding Lookup Join performance by pushing a filter to the right side of the lookup join #133166
Changes from 24 commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
bcde6be
LookupJoin prejoin filter POC WIP
julian-elastic d24dab3
Get basic case with translatable filters to work
julian-elastic 9603a7c
Fix failing UTs
julian-elastic e73996f
Fix failing UTs part 2
julian-elastic 278877a
Add additional checks for right pushable filters
julian-elastic ec9817d
Merge branch 'main' into lookupPrefilter_v2
julian-elastic a59d0de
Update docs/changelog/132889.yaml
julian-elastic 6e6e28e
Switch to storing the filter in Join
julian-elastic 018b40d
Switch to storing the filter in Join
julian-elastic 2ee02a1
bugfix
julian-elastic abfe672
Limit the change to pushable filters only, make the filter optional
julian-elastic 7f82362
Add more UTs
julian-elastic ba9ab52
Merge branch 'main' into lookupPrefilterPushable
julian-elastic 2aa2b49
Clean up, add more UTs
julian-elastic 0e7b3ed
Update docs/changelog/133166.yaml
julian-elastic 66c126f
Fix a bug where a mix of pushable and non-pushable filters resulted i…
julian-elastic 84d2dcb
Address code review comments, add UTs
julian-elastic 6b41aa9
Merge branch 'main' into lookupPrefilterPushable
julian-elastic d32cdc4
Fix formatting for UT
julian-elastic 68d319b
Switch to storing the optional filter in the RHS of the Join
julian-elastic 5405235
Address code review feedback
julian-elastic 03796e0
Fix merge errors
julian-elastic c15df0a
Address a missed comment
julian-elastic 63018a7
Switch to passing local logical plan to lookup node
julian-elastic 76b4042
Switch to passing local logical plan to lookup node
julian-elastic 4205693
Address more code review feedback
julian-elastic 5a2b2fd
Merge branch 'main' into lookupPrefilterPushable
julian-elastic 3c39e90
fix failing UT
julian-elastic 35121eb
Merge branch 'main' into lookupPrefilterPushable
julian-elastic 40c6d7a
Merge branch 'main' into lookupPrefilterPushable
julian-elastic 242455f
Address more code review comments
julian-elastic f5cb543
Merge branch 'main' into lookupPrefilterPushable
julian-elastic f7ff90e
Address code review comments
julian-elastic 3116545
Address code review comments, part 2
julian-elastic 7a8af28
Merge branch 'main' into lookupPrefilterPushable
julian-elastic c0733f7
Address more code review comments
julian-elastic 166130f
Merge branch 'main' into lookupPrefilterPushable
julian-elastic 0550dae
Merge branch 'main' into lookupPrefilterPushable
julian-elastic 328af0a
Merge branch 'main' into lookupPrefilterPushable
julian-elastic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 133166 | ||
summary: Improve Expanding Lookup Join performance by pushing a filter to the right | ||
side of the lookup join | ||
area: ES|QL | ||
type: enhancement | ||
issues: [] |
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
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
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
61 changes: 0 additions & 61 deletions
61
.../compute/src/main/java/org/elasticsearch/compute/operator/lookup/ExpressionQueryList.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.