-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24020][SQL] Sort-merge join inner range optimization #21109
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
Closed
Closed
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
b7a4a3e
Secondary sort Sort Merge Join optimization. Not finished yet.
fd81613
SortMergeJoin secondary sort optimization
f1efa9b
Sort-Merge "inner range join" (secondary sort) - code generation
f533f65
Sort-Merge "inner range join" (secondary sort) - two bug fixes - work…
2ff492c
Code simplification
3ff654a
Bug fix
85039bb
Scalastyle fixes
bbcb400
Scalastyle fixes
640aa6d
SMJ range join unit tests
2548b7d
Scalastyle
069bc01
Scalastyle
3bc71c5
Scalastyle
5c62f98
Fix generated code - dequeue method missing
16e3e1b
Bug fix: include other binary comparisons in range conditions match
e7f7bdf
Test fix: sortWithinPartitions; Bug Fix: check references in rangeCon…
41cde27
Test fix
080ab0d
Test fix
8628216
Fix required child ordering for inner range queries
7bd6732
Parameter for turning off inner range optimization
094f66b
Scala style
efd595e
Bug fix - NPE when inner range optimization turned off
a8372e3
Adding test case when inner range optimization is turned off
4396985
Stala style
9c14368
Stala style
6cbf9fe
Remove range condition extraction when inner range join optimization …
82943b8
Scala style
bbddf7a
Unit test fix
c4060d7
Unit test fix
5b0f2b5
- Turning off inner range optimization when whole stage code generati…
68e00c0
Switch off inner range optimization when whole stage codegen is off.
f5b9ca8
SMJ inner range optimization benchmarks
7457ab3
Removing "expensive function" from the SMJ inner range optimization b…
c47c8cd
SMJ inner range optimization with wholeStage codegen turned off - cod…
3fbedfc
Unit test fix. Benchmark results update.
b8e1ee4
Scalastyle for comments
2710957
Code changes based on review comments.
52f2b70
Code review changes
169bd70
Removing exception when numRowsInMemoryBufferThreshold is reached in …
89169de
Scala style
eeaf048
Unneeded import
75ce55d
A dot
77dd2a8
A dot
eac81b4
A dot
1abde55
A dot
dfb4c0f
A dot
6d4c031
Fixes for some rebase issues.
ctslater 6d9cd12
Merge with upstream
zecevicp 7742c10
Merge with upstream
zecevicp 3a717ee
SMJ inner range spill over implementation and tests
zecevicp 64437e5
External unsafe row dequeue test extension
zecevicp 0a5c8de
A dot
zecevicp 07ff4d3
Merge branch 'master' into branch-pz-smj
zecevicp 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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, at best make this internal. Are there conditions where you would not want to apply this? is it just a safety valve?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's just a safety valve. In case there are some queries that I don't foresee now where this could get in the way.