-
Notifications
You must be signed in to change notification settings - Fork 267
refactor: Scala hygiene - remove scala.collection.JavaConverters
#2393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2393 +/- ##
=============================================
- Coverage 56.12% 33.06% -23.07%
+ Complexity 976 736 -240
=============================================
Files 119 147 +28
Lines 11743 13408 +1665
Branches 2251 2332 +81
=============================================
- Hits 6591 4433 -2158
- Misses 4012 8183 +4171
+ Partials 1140 792 -348 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
comphead
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hsiang-c Triggering CI
mbutrovich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hsiang-c!
…pache#2393) * Use scala-collection-compat for Spark 3.4 * Use scala.jdk.CollectionConverters for Scala files * Use scala.jdk.javaapi.CollectionConverters for Java files * Include scala-collection-compat * Allow scala-collection-compat in JAR * Exclude scala-collection-compat to avoid duplicated classes
Which issue does this PR close?
Partially closes #. #2255
Rationale for this change
What changes are included in this PR?
scala.collection.JavaConvertersis deprecated, replace it withscala.jdk.CollectionConverters(scala) andscala.jdk.javaapi.CollectionConverters(Java)scala-collection-compatin JAR and fixed a few release sanity checks.Scala 2.12 and Scala 2.13 JAR content diff
Size diff (in bytes) before and after this patch
Spark 3.4
Spark 3.5
Spark 4.0
How are these changes tested?
-Pscala-2.12and-Pscala-2.13make release-nogit PROFILES="-Pspark-3.4 -Pscala2.12"make release-nogit PROFILES="-Pspark-3.4 -Pscala2.13"make release-nogit PROFILES="-Pspark-3.5 -Pscala2.12"make release-nogit PROFILES="-Pspark-4.0 -Pscala2.13"java.lang.NoClassDefFoundError: scala/jdk/javaapi/CollectionConvertersexception.