-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-19669][SQL] Open up visibility for sharedState, sessionState, and a few other functions #17002
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
…and a few other functions
| */ | ||
| @InterfaceStability.Unstable | ||
| @transient | ||
| private[sql] lazy val sessionState: 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.
Like sharedState, also remove private[sql]?
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.
oops
|
LGTM |
|
Test build #73181 has finished for PR 17002 at commit
|
|
Test build #73176 has finished for PR 17002 at commit
|
|
Thanks! Merging to master. |
|
@gatorsmile @rxin |
|
uh... I missed that. |
|
Yea @gatorsmile be careful in the future and check the commit hash. |
|
Yeah. Will be more careful in the future. Sorry for that. |
…and a few other functions ## What changes were proposed in this pull request? To ease debugging, most of Spark SQL internals have public level visibility. Two of the most important internal states, sharedState and sessionState, however, are package private. It would make more sense to open these up as well with clear documentation that they are internal. In addition, users currently have way to set active/default SparkSession, but no way to actually get them back. We should open those up as well. ## How was this patch tested? N/A - only visibility change. Author: Reynold Xin <[email protected]> Closes apache#17002 from rxin/SPARK-19669.
What changes were proposed in this pull request?
To ease debugging, most of Spark SQL internals have public level visibility. Two of the most important internal states, sharedState and sessionState, however, are package private. It would make more sense to open these up as well with clear documentation that they are internal.
In addition, users currently have way to set active/default SparkSession, but no way to actually get them back. We should open those up as well.
How was this patch tested?
N/A - only visibility change.