Skip to content
Snippets Groups Projects
Commit cca79fad authored by Andrew Or's avatar Andrew Or Committed by Reynold Xin
Browse files

[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.

Author: Andrew Or <andrew@databricks.com>

Closes #11405 from andrewor14/refactor-session.
parent 4c5e968d
No related branches found
No related tags found
No related merge requests found
Showing
with 294 additions and 164 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment