You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "majian1998 (via GitHub)" <gi...@apache.org> on 2025/11/26 09:19:06 UTC
[PR] [spark] Fix Scala version resolution for paimon-spark-4.0_2.13 in Spark 4 profile [paimon]
majian1998 opened a new pull request, #6683:
URL: https://github.com/apache/paimon/pull/6683
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
<!-- Linking this pull request to the issue -->
Linked issue: close #6682
<!-- What is the purpose of the change -->
`paimon-spark-4.0_2.13` is intended for Spark 4 + Scala 2.13, but its POM currently inherits
`scala.binary.version` from `paimon-parent`. Since the default value in the parent is `2.12`,
Maven may resolve `_2.12` Spark / Paimon Spark artifacts for this module when the `spark4`
profile is not explicitly activated (both in external projects and when running `mvn clean install`
under `paimon-spark-4.0`).
This PR makes the Scala version for `paimon-spark-4.0_2.13` explicit and local to the module
### Tests
<!-- List UT and IT cases to verify this change -->
```
mvn -pl paimon-spark/paimon-spark-4.0_2.13 -DskipTests clean install
```
From an external Spark 4 + Scala 2.13 project that depends on
org.apache.paimon:paimon-spark-4.0_2.13, verified with:
```
mvn dependency:tree -Dincludes=org.apache.paimon:paimon-spark-4.0_2.13
```
that only _2.13 Spark / Paimon Spark artifacts are resolved and no _2.12 artifacts are pulled in.
### API and Format
<!-- Does this change affect API or storage format -->
No API changes.
No storage format changes.
### Documentation
<!-- Does this change introduce a new feature -->
None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [spark] Fix Scala version resolution for paimon-spark-4.0_2.13 in Spark 4 profile [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed pull request #6683: [spark] Fix Scala version resolution for paimon-spark-4.0_2.13 in Spark 4 profile
URL: https://github.com/apache/paimon/pull/6683
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [spark] Fix Scala version resolution for paimon-spark-4.0_2.13 in Spark 4 profile [paimon]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6683:
URL: https://github.com/apache/paimon/pull/6683#issuecomment-4402159941
This pull request has had no activity for 90 days. If you'd like to keep it open, please push a new commit or leave a comment. Thanks for the contribution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org