diff options
author | Yin Huai <yhuai@databricks.com> | 2016-05-26 16:53:31 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2016-05-26 16:53:31 -0700 |
commit | 3ac2363d757cc9cebc627974f17ecda3a263efdf (patch) | |
tree | 19f223d182ca9f1f077d1c383c91d0936c0c7385 /project/MimaExcludes.scala | |
parent | e7082caeb4a53c1ee172d136894eece1ac880f65 (diff) | |
download | spark-3ac2363d757cc9cebc627974f17ecda3a263efdf.tar.gz spark-3ac2363d757cc9cebc627974f17ecda3a263efdf.tar.bz2 spark-3ac2363d757cc9cebc627974f17ecda3a263efdf.zip |
[SPARK-15532][SQL] SQLContext/HiveContext's public constructors should use SparkSession.build.getOrCreate
## What changes were proposed in this pull request?
This PR changes SQLContext/HiveContext's public constructor to use SparkSession.build.getOrCreate and removes isRootContext from SQLContext.
## How was this patch tested?
Existing tests.
Author: Yin Huai <yhuai@databricks.com>
Closes #13310 from yhuai/SPARK-15532.
Diffstat (limited to 'project/MimaExcludes.scala')
-rw-r--r-- | project/MimaExcludes.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index 08c575aaee..73debe9da4 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -54,6 +54,8 @@ object MimaExcludes { ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.rdd.RDD.coalesce"), ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.rdd.PartitionCoalescer$LocationIterator"), ProblemFilters.exclude[IncompatibleTemplateDefProblem]("org.apache.spark.rdd.PartitionCoalescer"), + // SPARK-15532 Remove isRootContext flag from SQLContext. + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.sql.SQLContext.isRootContext"), // SPARK-12600 Remove SQL deprecated methods ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.SQLContext$QueryExecution"), ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.SQLContext$SparkPlanner"), |