Skip to content

Commit e792b6a

Browse files
author
DB Tsai
committed
change mima
1 parent 8d6de99 commit e792b6a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

project/MimaExcludes.scala

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,18 @@ object MimaExcludes {
4242
excludePackage("org.spark-project.jetty"),
4343
MimaBuild.excludeSparkPackage("unused"),
4444
// SQL execution is considered private.
45-
excludePackage("org.apache.spark.sql.execution"),
45+
excludePackage("org.apache.spark.sql.execution")
46+
) ++
47+
MimaBuild.excludeSparkClass("streaming.flume.FlumeTestUtils") ++
48+
MimaBuild.excludeSparkClass("streaming.flume.PollingFlumeTestUtils") ++
49+
Seq(
4650
ProblemFilters.exclude[MissingMethodProblem](
4751
"org.apache.spark.ml.classification.LogisticCostFun.this"),
4852
ProblemFilters.exclude[MissingMethodProblem](
4953
"org.apache.spark.ml.classification.LogisticAggregator.add"),
5054
ProblemFilters.exclude[MissingMethodProblem](
5155
"org.apache.spark.ml.classification.LogisticAggregator.count")
52-
) ++
53-
MimaBuild.excludeSparkClass("streaming.flume.FlumeTestUtils") ++
54-
MimaBuild.excludeSparkClass("streaming.flume.PollingFlumeTestUtils")
56+
)
5557
case v if v.startsWith("1.5") =>
5658
Seq(
5759
MimaBuild.excludeSparkPackage("network"),
@@ -79,7 +81,11 @@ object MimaExcludes {
7981
"org.apache.spark.ml.regression.LeastSquaresCostFun.this"),
8082
ProblemFilters.exclude[MissingMethodProblem](
8183
"org.apache.spark.ml.classification.LogisticCostFun.this"),
82-
// SQL execution is considered private.
84+
ProblemFilters.exclude[MissingMethodProblem](
85+
"org.apache.spark.ml.classification.LogisticAggregator.add"),
86+
ProblemFilters.exclude[MissingMethodProblem](
87+
"org.apache.spark.ml.classification.LogisticAggregator.count"),
88+
// SQL execution is considered private.
8389
excludePackage("org.apache.spark.sql.execution"),
8490
// The old JSON RDD is removed in favor of streaming Jackson
8591
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.json.JsonRDD$"),

0 commit comments

Comments
 (0)