This is an automated email from the ASF dual-hosted git repository.

gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 90f4d1045bd [SPARK-42508][BUILD][FOLLOW-UP] Exlcude 
org.apache.spark.ml.param.FloatParam$ for Scala 2.13
90f4d1045bd is described below

commit 90f4d1045bddf8f56d65510782eab623af333601
Author: Hyukjin Kwon <[email protected]>
AuthorDate: Mon Mar 20 11:39:13 2023 +0900

    [SPARK-42508][BUILD][FOLLOW-UP] Exlcude 
org.apache.spark.ml.param.FloatParam$ for Scala 2.13
    
    ### What changes were proposed in this pull request?
    
    This PR is a followup of https://github.com/apache/spark/pull/40097 that 
proposes to exclude org.apache.spark.ml.param.FloatParam$ for Scala 2.13:
    
    ```
    [error] spark-mllib: Failed binary compatibility check against 
org.apache.spark:spark-mllib_2.13:3.3.0! Found 1 potential problems (filtered 
646)
    [error]  * object org.apache.spark.ml.param.FloatParam does not have a 
correspondent in current version
    [error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.FloatParam$")
    [error] java.lang.RuntimeException: Failed binary compatibility check 
against org.apache.spark:spark-mllib_2.13:3.3.0! Found 1 potential problems 
(filtered 646)
    [error]         at scala.sys.package$.error(package.scala:30)
    [error]         at 
com.typesafe.tools.mima.plugin.SbtMima$.reportModuleErrors(SbtMima.scala:89)
    [error]         at 
com.typesafe.tools.mima.plugin.MimaPlugin$.$anonfun$projectSettings$2(MimaPlugin.scala:36)
    [error]         at 
com.typesafe.tools.mima.plugin.MimaPlugin$.$anonfun$projectSettings$2$adapted(MimaPlugin.scala:26)
    [error]         at scala.collection.Iterator.foreach(Iterator.scala:943)
    ```
    
    See https://github.com/apache/spark/actions/runs/4430000174/jobs/7771194350.
    
    ### Why are the changes needed?
    
    To make Scala 2.13 build pass
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, dev-only.
    
    ### How was this patch tested?
    
    Will monitor the build after this gets merged at 
https://github.com/apache/spark/actions.
    
    Closes #40480 from HyukjinKwon/SPARK-42508.
    
    Authored-by: Hyukjin Kwon <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
---
 project/MimaExcludes.scala | 1 +
 1 file changed, 1 insertion(+)

diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala
index 05e301ac82f..d2ae199ea96 100644
--- a/project/MimaExcludes.scala
+++ b/project/MimaExcludes.scala
@@ -74,6 +74,7 @@ object MimaExcludes {
     
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.DoubleParam"),
     
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.IntParam"),
     
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.FloatParam"),
+    
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.FloatParam$"),
     
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.LongParam"),
     
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.BooleanParam"),
     
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.ml.param.IntArrayParam"),


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to