[jira] [Commented] (SPARK-45650) fix dev/mina get scala 2.12

2023-10-25 Thread Yang Jie (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-45650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17779724#comment-17779724
 ] 

Yang Jie commented on SPARK-45650:
--

{code:java}
[error] spark-sql-api: Failed binary compatibility check against 
org.apache.spark:spark-sql-api_2.13:3.5.0! Found 6 potential problems (filtered 
28)
[error]  * interface org.apache.spark.sql.types.DoubleType#DoubleAsIfIntegral 
does not have a correspondent in current version
[error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.types.DoubleType$DoubleAsIfIntegral")
[error]  * object org.apache.spark.sql.types.DoubleType#DoubleAsIfIntegral does 
not have a correspondent in current version
[error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.types.DoubleType$DoubleAsIfIntegral$")
[error]  * interface org.apache.spark.sql.types.DoubleType#DoubleIsConflicted 
does not have a correspondent in current version
[error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.types.DoubleType$DoubleIsConflicted")
[error]  * interface org.apache.spark.sql.types.FloatType#FloatAsIfIntegral 
does not have a correspondent in current version
[error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.types.FloatType$FloatAsIfIntegral")
[error]  * object org.apache.spark.sql.types.FloatType#FloatAsIfIntegral does 
not have a correspondent in current version
[error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.types.FloatType$FloatAsIfIntegral$")
[error]  * interface org.apache.spark.sql.types.FloatType#FloatIsConflicted 
does not have a correspondent in current version
[error]    filter with: 
ProblemFilters.exclude[MissingClassProblem]("org.apache.spark.sql.types.FloatType$FloatIsConflicted")
 {code}
[https://github.com/laglangyue/spark/actions/runs/6614029427/job/17963169741]

 

As the compilation log says, this is because your PR changes broke the related 
API compatibility. You need to modify the code to maintain API compatibility or 
add the corresponding rules in MimaExcludes to skip the check. This is not a 
bug with the mima script, I will close this issue.

> fix dev/mina get scala 2.12 
> 
>
> Key: SPARK-45650
> URL: https://issues.apache.org/jira/browse/SPARK-45650
> Project: Spark
>  Issue Type: Sub-task
>  Components: Build
>Affects Versions: 4.0.0
>Reporter: tangjiafu
>Priority: Major
>
> Now the ci is executing  ./dev/mina will generate an incompatible error with 
> scala2.12. Sorry, I don't know how to fix it
> [info] [launcher] getting org.scala-sbt sbt 1.9.3  (this may take some 
> time)...
> [info] [launcher] getting Scala 2.12.18 (for sbt)...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-45650) fix dev/mina get scala 2.12

2023-10-25 Thread tangjiafu (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-45650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17779431#comment-17779431
 ] 

tangjiafu commented on SPARK-45650:
---

in this PR ( https://github.com/apache/spark/pull/43456 )I meet this Error,I 
mistakenly thought it was a problem with the scala version. I am not familiar 
with this and am still researching. If it weren't for this issue, I would close 
it later.

> fix dev/mina get scala 2.12 
> 
>
> Key: SPARK-45650
> URL: https://issues.apache.org/jira/browse/SPARK-45650
> Project: Spark
>  Issue Type: Sub-task
>  Components: Build
>Affects Versions: 4.0.0
>Reporter: tangjiafu
>Priority: Major
>
> Now the ci is executing  ./dev/mina will generate an incompatible error with 
> scala2.12. Sorry, I don't know how to fix it
> [info] [launcher] getting org.scala-sbt sbt 1.9.3  (this may take some 
> time)...
> [info] [launcher] getting Scala 2.12.18 (for sbt)...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-45650) fix dev/mina get scala 2.12

2023-10-25 Thread Yang Jie (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-45650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17779383#comment-17779383
 ] 

Yang Jie commented on SPARK-45650:
--

Do you have a more detailed error stack? `[info] [launcher] getting Scala 
2.12.18 (for sbt)...` is because sbt 1.x uses scala 2.12, it won't affect the 
result of dev/mima.

> fix dev/mina get scala 2.12 
> 
>
> Key: SPARK-45650
> URL: https://issues.apache.org/jira/browse/SPARK-45650
> Project: Spark
>  Issue Type: Sub-task
>  Components: Build
>Affects Versions: 4.0.0
>Reporter: tangjiafu
>Priority: Major
>
> Now the ci is executing  ./dev/mina will generate an incompatible error with 
> scala2.12. Sorry, I don't know how to fix it
> [info] [launcher] getting org.scala-sbt sbt 1.9.3  (this may take some 
> time)...
> [info] [launcher] getting Scala 2.12.18 (for sbt)...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org