aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorhyukjinkwon <gurwls223@gmail.com>2016-05-10 22:21:17 -0700
committerReynold Xin <rxin@databricks.com>2016-05-10 22:21:17 -0700
commit3ff012051f5bb433abb868e590e59dea18867cd8 (patch)
treed7b469774d88f98a1da9bdac7c163fbbde9937de /project
parent5a5b83c97bbab1d717dcc30b09aafb7c0ed85069 (diff)
downloadspark-3ff012051f5bb433abb868e590e59dea18867cd8.tar.gz
spark-3ff012051f5bb433abb868e590e59dea18867cd8.tar.bz2
spark-3ff012051f5bb433abb868e590e59dea18867cd8.zip
[SPARK-15250][SQL] Remove deprecated json API in DataFrameReader
## What changes were proposed in this pull request? This PR removes the old `json(path: String)` API which is covered by the new `json(paths: String*)`. ## How was this patch tested? Jenkins tests (existing tests should cover this) Author: hyukjinkwon <gurwls223@gmail.com> Author: Hyukjin Kwon <gurwls223@gmail.com> Closes #13040 from HyukjinKwon/SPARK-15250.
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 b0d862d006..69161e0d61 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -349,6 +349,9 @@ object MimaExcludes {
// [SPARK-13686][MLLIB][STREAMING] Add a constructor parameter `reqParam` to (Streaming)LinearRegressionWithSGD
ProblemFilters.exclude[MissingMethodProblem]("org.apache.spark.mllib.regression.LinearRegressionWithSGD.this")
) ++ Seq(
+ // SPARK-15250 Remove deprecated json API in DataFrameReader
+ ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.sql.DataFrameReader.json")
+ ) ++ Seq(
// SPARK-13920: MIMA checks should apply to @Experimental and @DeveloperAPI APIs
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.Aggregator.combineCombinersByKey"),
ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.Aggregator.combineValuesByKey"),