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

Update versions of Scala, Spark and sbt for builds and CI/CD. #383

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

yruslan
Copy link
Collaborator

@yruslan yruslan commented Mar 22, 2024

Closes #382

Updates versions to latest patches, and replaces obsolete setup-scala plugin so that JDK is latest, not old like this:
Screenshot 2024-03-22 at 9 19 22

With the change:
Screenshot 2024-03-22 at 9 32 15 1

@yruslan yruslan force-pushed the feature/382-update-scala-spark-versions branch from 1f7a9c9 to 28fd46b Compare March 22, 2024 08:11
@yruslan yruslan force-pushed the feature/382-update-scala-spark-versions branch from 28fd46b to 8d810c0 Compare March 22, 2024 08:14
Copy link

Unit Test Coverage

There is no coverage information present for the Files changed

Total Project Coverage 83.4% 🍏

@yruslan yruslan force-pushed the feature/382-update-scala-spark-versions branch 3 times, most recently from 792bd4a to e4cde8b Compare March 22, 2024 08:28
@yruslan yruslan force-pushed the feature/382-update-scala-spark-versions branch from e4cde8b to e58f036 Compare March 22, 2024 08:29
@yruslan yruslan marked this pull request as ready for review March 22, 2024 08:35
@@ -18,26 +18,30 @@ jobs:
strategy:
fail-fast: false
matrix:
scala: [2.11.12, 2.12.18, 2.13.12]
spark: [2.4.8, 3.2.4, 3.3.3, 3.4.1]
scala: [2.11.12, 2.12.19, 2.13.13]
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't an include syntax be better than exclude in the case of Scala 2.11?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategymatrixinclude

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm going to check and compare, thanks!

case version if version.startsWith("2.4.") => "5.1.1"
case version if version.startsWith("3.0.") => "5.1.1"
case version if version.startsWith("3.1.") => "5.1.1"
case version if version.startsWith("3.2.") => "6.1.1"

Choose a reason for hiding this comment

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

  • 6.1.1 is really only for Spark 3.2.0 specifically
  • For Spark 3.2.x (x > 0) the latest Abris version should be used

All this mess is caused by Spark breaking a compatibility: AbsaOSS/ABRiS#280

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Awesome, thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@yruslan yruslan merged commit f173e57 into main Mar 22, 2024
8 checks passed
@yruslan yruslan deleted the feature/382-update-scala-spark-versions branch March 22, 2024 09:26
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.

Update Scala, Spark, and sbt versions for CI/CD
3 participants