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

[SPARK-14720][SPARK-13643] Move Hive-specific methods into HiveSessionState...

[SPARK-14720][SPARK-13643] Move Hive-specific methods into HiveSessionState and Create a SparkSession class

## What changes were proposed in this pull request?
This PR has two main changes.
1. Move Hive-specific methods from HiveContext to HiveSessionState, which help the work of removing HiveContext.
2. Create a SparkSession Class, which will later be the entry point of Spark SQL users.

## How was this patch tested?
Existing tests

This PR is trying to fix test failures of https://github.com/apache/spark/pull/12485.

Author: Andrew Or <andrew@databricks.com>
Author: Yin Huai <yhuai@databricks.com>

Closes #12522 from yhuai/spark-session.
parent cb8ea9e1
No related branches found
No related tags found
No related merge requests found
Showing
with 499 additions and 317 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