Skip to content

Commit b1fd860

Browse files
committed
Fix Mima
1 parent 6d86578 commit b1fd860

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

bin/spark-class

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ fi
148148
if [[ "$1" =~ org.apache.spark.tools.* ]]; then
149149
if test -z "$SPARK_TOOLS_JAR"; then
150150
echo "Failed to find Spark Tools Jar in $FWDIR/tools/target/scala-$SPARK_SCALA_VERSION/" 1>&2
151-
echo "You need to build Spark before running $1." 1>&2
151+
echo "You need to run \"build/sbt tools/package\" before running $1." 1>&2
152152
exit 1
153153
fi
154154
CLASSPATH="$CLASSPATH:$SPARK_TOOLS_JAR"

project/MimaExcludes.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ object MimaExcludes {
7878
"org.apache.spark.TaskContext.taskAttemptId"),
7979
ProblemFilters.exclude[MissingMethodProblem](
8080
"org.apache.spark.TaskContext.attemptNumber")
81+
) ++ Seq(
82+
// SPARK-5166 Spark SQL API stabilization
83+
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.ml.Transformer.transform"),
84+
ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.ml.Estimator.fit")
8185
)
8286

8387
case v if v.startsWith("1.2") =>

0 commit comments

Comments
 (0)