-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-19540][SQL] Add ability to clone SparkSession wherein cloned session has an identical copy of the SessionState #16826
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 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
18ce1b8
Add capability to inherit SessionState (SQL conf, temp tables, regist…
kunalkhamar 9beb78d
Add tests for forking new session with inherit config enabled. Update…
kunalkhamar a343d8a
Fix constructor default args for bytecode compatibility.
kunalkhamar 4210079
Incorporate feedback. Fix association of incorrect SparkSession while…
kunalkhamar 6da6bda
Update spark version. Rename clone to copy, in order to avoid Java Ob…
kunalkhamar 579d0b7
Make lazy vals strict.
kunalkhamar 2837e73
Refactor SessionState to remove passing of base SessionState, and ini…
kunalkhamar 8c00344
Remove unused import.
kunalkhamar f423f74
Remove SparkSession reference from SessionState.
kunalkhamar b1371d8
Merge branch 'master' into fork-sparksession
kunalkhamar 2cee190
Fix initialization loop.
kunalkhamar e2bbfa8
Fix var name error.
kunalkhamar 8ac778a
Add tests. Refactor. Temporarily disable subtest SPARK-18360: default…
kunalkhamar 0c732ce
Merge branch 'master' into fork-sparksession
kunalkhamar 3c995e1
Fix copy of SessionCatalog. Changes from review.
kunalkhamar 292011a
Merge branch 'fork-sparksession' of github.com:kunalkhamar/spark into…
kunalkhamar b027412
Merge branch 'master' into fork-sparksession
kunalkhamar 295ee41
Add synchronized blocks. Ignore hive metastore tests for now.
kunalkhamar 847b484
Merge branch 'fork-sparksession' of github.com:kunalkhamar/spark into…
kunalkhamar 9beba84
Add tests. Force copy of session state on cloneSession.
kunalkhamar 3d2e4a6
Rename copy to clone() to work around copy method of case classes. Mo…
kunalkhamar 4f70d12
Fix HiveSessionState clone.
kunalkhamar dd2dedd
Add tests for HiveSessionState. Review feedback.
kunalkhamar 8a8d47b
Simplify TestSQLContext. Review feedback.
kunalkhamar ffc2058
(attempt to) Fix tests.
kunalkhamar 16824f9
Review.
kunalkhamar fd11ee2
Update test case.
kunalkhamar 437b0bc
Add throwing exception if wrong SessionState clone is called. Update …
kunalkhamar 300d3a0
Most of the changes from review.
kunalkhamar 3ee271f
All but one review feedback.
kunalkhamar c3f052f
Merge remote-tracking branch 'origin/master' into pr16826
zsxwing 0bdc81c
Merge remote-tracking branch 'origin/master' into pr16826
zsxwing 2740c63
Fix tests
zsxwing 0f167db
Clean up tests
zsxwing 2f0b1ad
fix SessionCatalogSuite
zsxwing c41e7bc
More cleanup
zsxwing 5eb6733
More tests
zsxwing 05abcf8
Update tests and a param comment.
kunalkhamar 4c23e7a
Merge branch 'master' into fork-sparksession
kunalkhamar 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
Make lazy vals strict.
- Loading branch information
commit 579d0b77738e2de53c06725e55f6a0de905325a5
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
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.
nit: extra line.
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.
According to style guide, these are neither encouraged nor discouraged.
To be consistent, will delete all extra lines after last member of class/object.