-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-21657][SQL] optimize explode quadratic memory consumpation #19683
Closed
Closed
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
ce7c369
[SPARK-21657][SQL] optimize explode quadratic memory consumpation
uzadude 76aa258
fixed "File line length exceeds 100 characters"
uzadude 7a9bc96
fixed "File line length exceeds 100 characters"
uzadude a3050e9
Fixed ClassCastException
uzadude b8b5960
fixed ColumnPruningSuite join plan test
uzadude b825d6b
changed indentation
uzadude 04b5814
Merge branch 'master' into optimize_explode
uzadude 7cb9454
nit change
uzadude ccc78e9
changes according to @cloud-fan's comments
uzadude 8ef78af
Merge branch 'optimize_explode' of https://github.com/uzadude/spark i…
uzadude 272a059
a working version
uzadude f9e69a4
join+omitGeneratorReferences -> requiredChildOutput
uzadude 42aa32d
style fix
uzadude 93816b6
fix "No space after token ="
uzadude 6caa0d5
fixing test
uzadude 11867e2
changed requiredChildOutput to unrequiredChildOutput for easier initi…
uzadude e00ecaf
fixed "There should at least one a single empty line separating group…
uzadude c3183d0
fixed tests
uzadude b6b8694
Fixes after last review by @cloud-fan
uzadude 09e6d05
nothing - just to re-run the tests.
uzadude 227c7af
more review changes - mainly consolidating the logic in the Optimizer
uzadude 17db21e
more review fixes, mainly allowing more Optimizer cases after p @ Pro…
uzadude 9edd864
scala style check fix
uzadude 6c07d2b
Merge commit '28778174208664327b75915e83ae5e611360eef3' into optimize…
uzadude f68bd2d
fix after merge
uzadude f92ec11
fix resolve check
uzadude 288aa73
unrequiredChildIndex: Seq[Attribute] -> unrequiredChildIndex: Seq[Int]
uzadude 283340f
fixed indentation
uzadude 8f06dda
last review changes.
uzadude 1c6626a
small fixes
uzadude 4edd884
fixed comments by @viirya
uzadude 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 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 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 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 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 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 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 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 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 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 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.
Is this correct?
AttributeSet.intersect
is special.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.
well, the implementation was identical in class Generate:
def generatedSet: AttributeSet = AttributeSet(generatorOutput)
override def producedAttributes: AttributeSet = AttributeSet(generatorOutput)
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.
ah i see