diff options
author | Reynold Xin <rxin@databricks.com> | 2016-01-18 13:55:42 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-18 13:55:42 -0800 |
commit | 38c3c0e31a00aed56f0bc0791a2789c845a3fd61 (patch) | |
tree | b6a220eb6731017b54b53a24a0d42b80b2a71c54 /project | |
parent | b8cb548a4394221f2b029c84c7f130774da69e3a (diff) | |
download | spark-38c3c0e31a00aed56f0bc0791a2789c845a3fd61.tar.gz spark-38c3c0e31a00aed56f0bc0791a2789c845a3fd61.tar.bz2 spark-38c3c0e31a00aed56f0bc0791a2789c845a3fd61.zip |
[SPARK-12855][SQL] Remove parser dialect developer API
This pull request removes the public developer parser API for external parsers. Given everything a parser depends on (e.g. logical plans and expressions) are internal and not stable, external parsers will break with every release of Spark. It is a bad idea to create the illusion that Spark actually supports pluggable parsers. In addition, this also reduces incentives for 3rd party projects to contribute parse improvements back to Spark.
Author: Reynold Xin <rxin@databricks.com>
Closes #10801 from rxin/SPARK-12855.
Diffstat (limited to 'project')
-rw-r--r-- | project/MimaExcludes.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index ccd3c34bb5..4430bfd3b0 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -53,7 +53,9 @@ object MimaExcludes { ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.jdbc"), ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.jsonFile"), ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.jsonRDD"), - ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.load") + ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.load"), + ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.dialectClassName"), + ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.sql.SQLContext.getSQLDialect") ) ++ Seq( ProblemFilters.exclude[IncompatibleResultTypeProblem]("org.apache.spark.SparkContext.emptyRDD"), ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.broadcast.HttpBroadcastFactory") |