aboutsummaryrefslogtreecommitdiff
path: root/project/MimaExcludes.scala
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2015-11-17 10:17:16 -0800
committerJoseph K. Bradley <joseph@databricks.com>2015-11-17 10:17:16 -0800
commit21fac5434174389e8b83a2f11341fa7c9e360bfd (patch)
tree3e34fff4c100b7bbf273b95f87bdd6a456028937 /project/MimaExcludes.scala
parentcc567b6634c3142125526f4875795c1b1e862838 (diff)
downloadspark-21fac5434174389e8b83a2f11341fa7c9e360bfd.tar.gz
spark-21fac5434174389e8b83a2f11341fa7c9e360bfd.tar.bz2
spark-21fac5434174389e8b83a2f11341fa7c9e360bfd.zip
[SPARK-11766][MLLIB] add toJson/fromJson to Vector/Vectors
This is to support JSON serialization of Param[Vector] in the pipeline API. It could be used for other purposes too. The schema is the same as `VectorUDT`. jkbradley Author: Xiangrui Meng <meng@databricks.com> Closes #9751 from mengxr/SPARK-11766.
Diffstat (limited to 'project/MimaExcludes.scala')
-rw-r--r--project/MimaExcludes.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 50220790d1..815951822c 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -137,6 +137,10 @@ object MimaExcludes {
) ++ Seq (
ProblemFilters.exclude[MissingMethodProblem](
"org.apache.spark.status.api.v1.ApplicationInfo.this")
+ ) ++ Seq(
+ // SPARK-11766 add toJson to Vector
+ ProblemFilters.exclude[MissingMethodProblem](
+ "org.apache.spark.mllib.linalg.Vector.toJson")
)
case v if v.startsWith("1.5") =>
Seq(