Skip to content
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

[SPARK-43836][BUILD] Make Scala 2.13 as default in Spark 3.5 #41344

Closed
wants to merge 2 commits into from
Closed

[SPARK-43836][BUILD] Make Scala 2.13 as default in Spark 3.5 #41344

wants to merge 2 commits into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented May 28, 2023

What changes were proposed in this pull request?

This PR aims to make Scala 2.13 the default Scala version in Apache Spark 3.5.

Why are the changes needed?

The current releases of Scala community are Scala 3.2.2 and Scala 2.13.10.

Although the Apache Spark community has been using Scala 2.12 by default since Apache Spark 3.0 and Scala community will release Scala 2.12.18 for Java 21 support, we had better focus on Scala 2.13+ more from Apache Spark 3.5 timeline to adopt Scala community's activity.

Since SPARK-25075 added Scala 2.13 at Apache Spark 3.2.0, the Apache Spark community has been using it as a second Scala version. This PR aims to switch only the default Scala version from 2.12 to 2.13. Apache Spark will support both Scala 2.12 and 2.13 still.

Does this PR introduce any user-facing change?

Yes, but we still have Scala 2.12.

How was this patch tested?

Pass the CIs.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-43836][BUILD] Make Scala 2.13 as default Scala version in Spark 3.5 [SPARK-43836][BUILD] Make Scala 2.13 as default in Spark 3.5 May 28, 2023
@dongjoon-hyun dongjoon-hyun marked this pull request as ready for review May 28, 2023 08:26
@dongjoon-hyun
Copy link
Member Author

All tests passed.
Screenshot 2023-05-28 at 1 38 42 AM

@dongjoon-hyun
Copy link
Member Author

Thank you, @MaxGekk . Merged to master.

@bjornjorgensen
Copy link
Contributor

Thank you @dongjoon-hyun
This is quite a big change for Spark. Perhaps we should inform everyone with an email to @dev. After all, it's holidays now, so I don't think everyone knows about this PR.

@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented May 28, 2023

Yes, I agree with you, @bjornjorgensen . I'm also planning to send out this as a part of the followings Apache Spark 3.5.0 Expectations soon.

(Sorted by ID)

@dongjoon-hyun dongjoon-hyun deleted the SPARK-43836 branch May 28, 2023 21:31
@LuciferYang
Copy link
Contributor

I'm very happy to see this change @dongjoon-hyun :)

@dongjoon-hyun
Copy link
Member Author

Thank you always in many ways, @LuciferYang ! :)

@dongjoon-hyun
Copy link
Member Author

For the record, I sent an email to dev@spark here.

czxm pushed a commit to czxm/spark that referenced this pull request Jun 12, 2023
### What changes were proposed in this pull request?

This PR aims to make Scala 2.13 the default Scala version in Apache Spark 3.5.

### Why are the changes needed?

The current releases of Scala community are `Scala 3.2.2` and `Scala 2.13.10`.

- https://scala-lang.org/download/all.html

Although the Apache Spark community has been using Scala 2.12 by default since Apache Spark 3.0 and Scala community will release Scala 2.12.18 for Java 21 support, we had better focus on `Scala 2.13+` more from Apache Spark 3.5 timeline to adopt Scala community's activity.

Since SPARK-25075 added Scala 2.13 at Apache Spark 3.2.0, the Apache Spark community has been using it as a second Scala version. This PR aims to switch only the default Scala version from 2.12 to 2.13. Apache Spark will support both Scala 2.12 and 2.13 still.

### Does this PR introduce _any_ user-facing change?

Yes, but we still have Scala 2.12.

### How was this patch tested?

Pass the CIs.

Closes apache#41344 from dongjoon-hyun/SPARK-43836.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment