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 spark-core, spark-mllib, spark-sql to 3.3.0 #637

Merged
merged 2 commits into from
Jul 12, 2022

Conversation

typelevel-steward[bot]
Copy link
Contributor

Updates

from 3.2.1 to 3.3.0.

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

Files still referring to the old version number

The following files still refer to the old version number (3.2.1).
You might want to review and update them manually.

README.md
build.sbt
Ignore future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.apache.spark" } ]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

@codecov
Copy link

codecov bot commented Jul 12, 2022

Codecov Report

Merging #637 (3fe486b) into master (d6cd39a) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #637      +/-   ##
==========================================
- Coverage   95.20%   95.11%   -0.09%     
==========================================
  Files          65       65              
  Lines        1168     1168              
  Branches        8        7       -1     
==========================================
- Hits         1112     1111       -1     
- Misses         56       57       +1     
Flag Coverage Δ
2.12.15 ?
2.12.16 95.11% <ø> (?)
2.13.8 95.73% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...t/src/main/scala/frameless/functions/package.scala 95.65% <0.00%> (-4.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d6cd39a...3fe486b. Read the comment docs.

@pomadchin
Copy link
Member

This PR drops Spark 3.0, cc @cchantep do you still need the old Spark relese? We don't have any significant changes anyway and we can cut 0.12.1 if you need before merging this PR.

@pomadchin pomadchin requested a review from cchantep July 12, 2022 13:53
@cchantep
Copy link
Collaborator

This PR drops Spark 3.0, cc @cchantep do you still need the old Spark relese? We don't have any significant changes anyway and we can cut 0.12.1 if you need before merging this PR.

Ok if we keep compat down to 3.1

@pomadchin pomadchin merged commit a8090fc into master Jul 12, 2022
@pomadchin pomadchin deleted the update/spark-core-3.3.0 branch July 12, 2022 18:29
Comment on lines +265 to 267
lazy val spark32Settings = Seq(
mimaPreviousArtifacts := Set.empty
)
Copy link
Member

Choose a reason for hiding this comment

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

As a rule-of-thumb, you should never set mimaPreviousArtifacts := Set.empty, this is easy to forget and break binary-compatibiliy in a future release by mistake.

There are basically two situations:

  1. You are not publishing the module, so use .enablePlugins(NoPublishPlugin) to disable MiMa.
  2. It is a new module that you have not published yet. So use this setting to indicate which version it will be introduced, and MiMa will automatically start from that version.
     tlVersionIntroduced := Map("2.12" -> "0.13.0", "2.13" -> "0.13.0")

Copy link
Member

@pomadchin pomadchin Jul 17, 2022

Choose a reason for hiding this comment

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

@armanbilge thanks! Is this intel documented anywhere?

What will be the setting for the artifact we publish for the first time and it has not been published before?
To be clear: 3.2 is the new artifact and we don't need to compare it with the previous version.

Copy link
Member

Choose a reason for hiding this comment

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

is this intel documented anywhere?

Sort of. This particular setting is documented here:
https://typelevel.org/sbt-typelevel/faq.html#how-do-i-indicate-the-first-version-that-i-published-scala-3-artifacts-for

Although perhaps it can use some other examples like for your situation.

What will be the setting for the artifact we publish (first time) and it has not been published before?

What is the first version you plan to publish it in?

Copy link
Member

Choose a reason for hiding this comment

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

@armanbilge o i c, 0.13 is the first version, so we need to add tlVersionIntroduced := Map("2.12" -> "0.13.0", "2.13" -> "0.13.0") as an indication that the first artifact was published as the 0.13 version for scala 2.12 and 2.13.

Makes sense now, thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Right, exactly, you got it! :) And this way you don't need to remember to change it again after publishing 0.13.0, MiMa will start working automatically.

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