aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2016-04-21 14:18:18 -0700
committerYin Huai <yhuai@databricks.com>2016-04-21 14:18:18 -0700
commita2e8d4fddd1446df946b3c05223e8b8ac6312c3c (patch)
treedef6b1e9c95abbad4abc367506a96c4c18c019b7 /project
parent8e1bb0456db1ad60afa24aa033b574c4a79b9c09 (diff)
downloadspark-a2e8d4fddd1446df946b3c05223e8b8ac6312c3c.tar.gz
spark-a2e8d4fddd1446df946b3c05223e8b8ac6312c3c.tar.bz2
spark-a2e8d4fddd1446df946b3c05223e8b8ac6312c3c.zip
[SPARK-13643][SQL] Implement SparkSession
## What changes were proposed in this pull request? After removing most of `HiveContext` in 8fc267ab3322e46db81e725a5cb1adb5a71b2b4d we can now move existing functionality in `SQLContext` to `SparkSession`. As of this PR `SQLContext` becomes a simple wrapper that has a `SparkSession` and delegates all functionality to it. ## How was this patch tested? Jenkins. Author: Andrew Or <andrew@databricks.com> Closes #12553 from andrewor14/implement-spark-session.
Diffstat (limited to 'project')
-rw-r--r--project/MimaExcludes.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 3c9f1532f9..9b2a966aaf 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -653,6 +653,9 @@ object MimaExcludes {
ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.status.api.v1.TaskMetricDistributions.shuffleReadMetrics"),
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.status.api.v1.TaskMetricDistributions.this")
) ++ Seq(
+ // SPARK-13643: Move functionality from SQLContext to SparkSession
+ ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.sql.SQLContext.getSchema")
+ ) ++ Seq(
// [SPARK-14407] Hides HadoopFsRelation related data source API into execution package
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.sources.OutputWriter"),
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.sources.OutputWriterFactory")