-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-20126][SQL] Remove HiveSessionState #17457
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
Conversation
|
LGTM |
|
Test build #75311 has finished for PR 17457 at commit
|
|
thanks, merging to master! |
| * | ||
| * Note: this method seems not access any session state, but the subclass `HiveSessionState` needs | ||
| * to add the jar to its hive client for the current session. Hence, it still needs to be in | ||
| * [[SessionState]]. |
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.
This comment needs an update.
|
A late LGTM. : ) |
|
Maybe it is time to clean up |
| """.stripMargin) | ||
|
|
||
| val expectedPath = | ||
| sessionState.catalog.hiveDefaultTableFilePath(TableIdentifier("ctasJsonTable")) |
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.
The function hiveDefaultTableFilePath can be removed.
What changes were proposed in this pull request?
Commit ea36116 moved most of the logic from the SessionState classes into an accompanying builder. This makes the existence of the
HiveSessionStateredundant. This PR removes theHiveSessionState.How was this patch tested?
Existing tests.