Skip to content

Supporting scala 2.13 for spark 3.2.0 #1841

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

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Jan 4, 2022

This commit adds support for spark 3.2 running scala 2.13.
Closes #1815

* warning in any Scala version.
* From https://github.com/scala/scala-collection-compat/issues/208#issuecomment-497735669
*/
private[rdd] object JDKCollectionConvertersCompat {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using import scala.jdk.CollectionConverters._ introduced by Backport scala.jdk.CollectionConverters to 2.11 / 2.12

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I didn't know about that. We unfortunately also support scala 2.10 though -- do you know if it has been backported to 2.10?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems not available for 2.10

Copy link
Member

@jbaiera jbaiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JDKCollectionConvertersCompat 🤯

@masseyke masseyke merged commit 62b4b86 into elastic:master Jan 20, 2022
@masseyke masseyke deleted the feature/scala-2.13 branch January 20, 2022 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide Scala 2.13 builds
3 participants