Skip to content

[spark] support scala 2.13#3041

Open
YannByron wants to merge 1 commit intoapache:mainfrom
YannByron:main-scala213
Open

[spark] support scala 2.13#3041
YannByron wants to merge 1 commit intoapache:mainfrom
YannByron:main-scala213

Conversation

@YannByron
Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #2667

Brief change log

Tests

API and Format

Documentation

@YannByron
Copy link
Copy Markdown
Contributor Author

@wuchong @Yohahaha please take a look, thanks.

@beryllw
Copy link
Copy Markdown
Contributor

beryllw commented Apr 11, 2026

LGTM, thanks for your contribution!

@wuchong cc

Copy link
Copy Markdown
Contributor

@fresh-borzoni fresh-borzoni left a comment

Choose a reason for hiding this comment

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

@YannByron TY for the PR, LGTM, one nit comment that we may wish to ignore.

We still import scala.collection.JavaConverters, it was deprecated in 2.13 in favor of scala.jdk.CollectionConverters.

@YannByron
Copy link
Copy Markdown
Contributor Author

YannByron commented Apr 14, 2026

@YannByron TY for the PR, LGTM, one nit comment that we may wish to ignore.

We still import scala.collection.JavaConverters, it was deprecated in 2.13 in favor of scala.jdk.CollectionConverters.

Yes, although we can continue to use this deprecated scala.collection.JavaConverters, I do plan to replace them with scala.jdk.CollectionConverters, and at the same time I wanna introduce scalafix or anything else to prevent any subsequent code from using the old scala.collection.JavaConverters.

echo "-Pspark3 -pl fluss-test-coverage,$modules_spark3"
;;
(${STAGE_SPARK_SCALA213})
echo "-Pspark3,scala-2.13 -pl fluss-test-coverage,$modules_spark3"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we have <id>spark3</id> profile ?

Copy link
Copy Markdown
Contributor

@leonardBang leonardBang Apr 14, 2026

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[spark] to support scala2.13

5 participants