[WIP][SPARK-31168][BUILD] Upgrade Scala to 2.12.12#29124
[WIP][SPARK-31168][BUILD] Upgrade Scala to 2.12.12#29124wangyum wants to merge 1 commit intoapache:masterfrom wangyum:SPARK-31168
Conversation
|
I feel like there was some reason we couldn't update to 2.12.11; not sure if it's still an issue or not. Tests will help tell. Yes, generally fine otherwise to update. |
|
The failure looks consistent. Could you take a look at that, @wangyum ? That might be another Scala bug. |
|
Test build #125879 has finished for PR 29124 at commit
|
|
Just a note: both |
|
Hi, @wangyum . Could you resolve the conflicts? Or, do you think we need to skip |
|
Given the current status, do we need to skip Scala |
|
Yes. We should skip Scala 2.12.12. At least this bug should be fixed first: scala/bug#12096 |
|
Thank you so much for the investigation, @wangyum ! |
What changes were proposed in this pull request?
This PR(SPARK-31168) upgrade Scala from 2.12.10 to 2.12.12.
Scala 2.12.11 release notes:
Highlights
-Yrepl-class-based, an alternative internal REPL encoding that avoids deadlocks-Yrepl-use-magic-importsflag that avoids deep class nesting in the REPL, which can lead to deteriorating performance in long sessionsJDK 9+ support
:javapin the REPL now works on JDK 9+Scala 2.12.12 release notes:
Highlights
This release adds compiler support for scala-async and backports substantial performance improvements to collections.
This transform is based on the macro implementation in
scala-asyncbut has been substantially rewritten to fix somelong standing bugs, reduce the overhead of compilation and simplify the extension points for third party effect systems.
scala-async1.0.0 will be released shortly building atop this phase.immutable.{TreeSet, TreeMap}are now based on a backport of the 2.13.x implementation.immutable.{HashMap, HashSet}are more efficient -- they now use mutation during building to reduce memory churn.Further highlights
Why are the changes needed?
Improvement performance.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Exist test.