Skip to content

Commit

Permalink
Insert spark versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Jun 21, 2024
1 parent 58fb1e2 commit f663908
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/scala/io/sdkman/changelogs/SparkMigrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import org.bson.Document
class SparkMigrations {

@ChangeSet(
order = "028",
id = "028-add_spark_3.5.1",
order = "029",
id = "029-latest-spark-versions",
author = "cphbrt"
)
def migration028(implicit db: MongoDatabase): Document = {
def migration029(implicit db: MongoDatabase): Document = {
Map(
"2.2.2" -> "hadoop2.7",
"2.2.3" -> "hadoop2.7",
Expand All @@ -33,7 +33,7 @@ class SparkMigrations {
version = version,
url =
s"https://archive.apache.org/dist/spark/spark-$version/spark-$version-bin-$distribution.tgz"
)
).validate().insert()
}
setCandidateDefault("spark", "3.5.1")
}
Expand Down

0 comments on commit f663908

Please sign in to comment.