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-47533][BUILD] Migrate scalafmt dialect to scala213 #45683

Closed
wants to merge 1 commit into from

Conversation

panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Mar 24, 2024

What changes were proposed in this pull request?

The pr aims to migrate scalafmt dialect from scala212 to scala213.

Why are the changes needed?

In the Spark version 4.0.0, the version scala2.12 is no longer supported. During our migration from scala2.12 to scala2.13, this should be migrated synchronously.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  • Manually test.
  • Pass GA.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the BUILD label Mar 24, 2024
runner.dialect = scala213
}
}
runner.dialect = scala213
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch. It seems to work. Is it ready, @panbingkun ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I have checked it on local and it is ready!
I have triggered the failed job on GA.
Thank you very much! ❤️

@panbingkun panbingkun changed the title [WIP] change scalafmt dialect to scala213 [SPARK-47533][BUILD] Migrate scalafmt dialect to scala213 Mar 24, 2024
@panbingkun panbingkun marked this pull request as ready for review March 24, 2024 23:22
Copy link
Member

@dongjoon-hyun dongjoon-hyun 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. Thank you, @panbingkun .

@dongjoon-hyun
Copy link
Member

Merged to master for Apache Spark 4.0.0.

sweisdb pushed a commit to sweisdb/spark that referenced this pull request Apr 1, 2024
### What changes were proposed in this pull request?
The pr aims to migrate `scalafmt dialect` from `scala212` to `scala213`.

### Why are the changes needed?
In the Spark version `4.0.0`, the version  `scala2.12 ` is no longer supported.  During our migration from `scala2.12` to `scala2.13`, this should be migrated synchronously.

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

### How was this patch tested?
- Manually test.
- Pass GA.

### Was this patch authored or co-authored using generative AI tooling?
No.

Closes apache#45683 from panbingkun/scalafmt_dialect.

Authored-by: panbingkun <panbingkun@baidu.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants