Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Jun 1, 2023

What changes were proposed in this pull request?

This PR aims to revert the following 4 commits effectively.

SPARK-43836 Make Scala 2.13 as default in Spark 3.5
SPARK-43845 Setup Scala 2.12 Daily GitHub Action Job
SPARK-43858 Make benchmark Github Action task use Scala 2.13 as default
SPARK-43858 Restore the Scala version to 2.13 after run benchmark

Why are the changes needed?

According to the dev mailing list discussion, we keep the Scala 2.12 for Spark 3.x.

We open a new thread, "Apache Spark 4.0 Timeframe?", for Spark 4 planning.

Does this PR introduce any user-facing change?

No. This is a recovery to the existing behavior.

How was this patch tested?

Pass the CIs.

dongjoon-hyun and others added 6 commits May 31, 2023 19:25
This pr aims to enable `unused imports` check for Scala 2.13.

There is an exception here for `import scala.language.higherKinds`(Scala 2.13 does not need to import them , while Scala 2.12 must import them), so this pr add two new suppression rules for it.

Enable `unused imports` check for Scala 2.13.

No.

Pass Github Actions

Closes #41356 from LuciferYang/SPARK-43849.

Authored-by: yangjie01 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

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

Thank you!

@dongjoon-hyun dongjoon-hyun changed the title Revert 2.13 Revert [SPARK-43836][SPARK-43845][SPARK-43858][SPARK-43858] to keep Scala 2.12 for Spark 3.x Jun 1, 2023
@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon . Also, cc @srowen , @LuciferYang .

Copy link
Contributor

@LuciferYang LuciferYang left a comment

Choose a reason for hiding this comment

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

+1, LGTM

@LuciferYang
Copy link
Contributor

So we needn't to update the benchmark results for Scala 2.13 for now, right? I'll close SPARK-43857

@dongjoon-hyun
Copy link
Member Author

We may keep them in a separate directory or different file names later. But, yes, we are unable to overwrite them for now.. Sorry for that.

@LuciferYang
Copy link
Contributor

We may keep them in a separate directory or different file names later. But, yes, we are unable to overwrite them for now.. Sorry for that.

Got it, Let's wait ~

@dongjoon-hyun
Copy link
Member Author

Thank you. Merged to master.

czxm pushed a commit to czxm/spark that referenced this pull request Jun 12, 2023
…cala 2.12 for Spark 3.x

### What changes were proposed in this pull request?

This PR aims to revert the following 4 commits effectively.

SPARK-43836 Make Scala 2.13 as default in Spark 3.5
SPARK-43845 Setup Scala 2.12 Daily GitHub Action Job
SPARK-43858 Make benchmark Github Action task use Scala 2.13 as default
SPARK-43858 Restore the Scala version to 2.13 after run benchmark

### Why are the changes needed?

According to the dev mailing list discussion, we keep the Scala 2.12 for Spark 3.x.
- https://lists.apache.org/thread/xz7x0nkjn1d13yl9on59lfttm6f0yd45

We open a new thread, "Apache Spark 4.0 Timeframe?", for Spark 4 planning.
- https://lists.apache.org/thread/xhkgj60j361gdpywoxxz7qspp2w80ry6

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

No. This is a recovery to the existing behavior.

### How was this patch tested?
Pass the CIs.

Closes apache#41416 from dongjoon-hyun/revert-2.13.

Lead-authored-by: Dongjoon Hyun <[email protected]>
Co-authored-by: yangjie01 <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
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.

3 participants