GitHub user andrewor14 opened a pull request:
https://github.com/apache/spark/pull/11405
[SPARK-13526] [SQL] Move SQLContext per-session states to new class
## What changes were proposed in this pull request?
This creates a `SessionState`, which groups a few fields that existed in
`SQLContext`. Because `HiveContext` extends `SQLContext` we also need to make
changes there. This is mainly a cleanup task that will soon pave the way for
merging the two contexts.
## How was this patch tested?
Existing unit tests; this patch introduces no change in behavior.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewor14/spark refactor-session
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11405.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11405
----
commit 22d9448f85c94339ef5d49d250b2fdefba9bedef
Author: Andrew Or <[email protected]>
Date: 2016-02-26T23:16:39Z
Add SessionState template
commit 5589ee5768449be05bb3e6337cd1b89c06c65228
Author: Andrew Or <[email protected]>
Date: 2016-02-27T00:52:43Z
Move fields to SessionState for SQL/HiveContext
commit 814ae1d5ccbb6680e808b280de9c454f76113f28
Author: Andrew Or <[email protected]>
Date: 2016-02-27T01:41:11Z
Clean up code + add/restore comments
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]