Skip to content

Commit 22ab8f4

Browse files
authored
Add Spark 3.2.2 to 3.3.1 (#614)
1 parent 102baca commit 22ab8f4

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

src/main/scala/io/sdkman/changelogs/SparkMigrations.scala

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,45 @@ import com.mongodb.client.MongoDatabase
66
@ChangeLog(order = "007")
77
class SparkMigrations {
88
@ChangeSet(
9-
order = "017",
10-
id = "016-add_spark_3.2.0",
11-
author = "ChethanUK"
9+
order = "020",
10+
id = "020-add_spark_3.2.2",
11+
author = "cphbrt"
1212
)
13-
def migration017(implicit db: MongoDatabase): Unit = {
13+
def migration020(implicit db: MongoDatabase) = {
1414
Version(
1515
"spark",
16-
"3.2.0",
17-
"https://archive.apache.org/dist/spark/spark-3.2.0/spark-3.2.0-bin-hadoop3.2.tgz"
16+
"3.2.2",
17+
"https://archive.apache.org/dist/spark/spark-3.2.2/spark-3.2.2-bin-hadoop3.2.tgz"
18+
).validate()
19+
.insert()
20+
}
21+
22+
@ChangeSet(
23+
order = "021",
24+
id = "021-add_spark_3.3.0",
25+
author = "cphbrt"
26+
)
27+
def migration021(implicit db: MongoDatabase) = {
28+
Version(
29+
"spark",
30+
"3.3.0",
31+
"https://archive.apache.org/dist/spark/spark-3.3.0/spark-3.3.0-bin-hadoop3.tgz"
1832
).validate()
1933
.insert()
20-
.asCandidateDefault()
2134
}
2235

2336
@ChangeSet(
24-
order = "019",
25-
id = "019-add_spark_3.2.1",
26-
author = "ChethanUK"
37+
order = "022",
38+
id = "022-add_spark_3.3.1",
39+
author = "cphbrt"
2740
)
28-
def migration019(implicit db: MongoDatabase) = {
41+
def migration022(implicit db: MongoDatabase) = {
2942
Version(
3043
"spark",
31-
"3.2.1",
32-
"https://archive.apache.org/dist/spark/spark-3.2.1/spark-3.2.1-bin-hadoop3.2.tgz"
44+
"3.3.1",
45+
"https://archive.apache.org/dist/spark/spark-3.3.1/spark-3.3.1-bin-hadoop3.tgz"
3346
).validate()
3447
.insert()
48+
.asCandidateDefault()
3549
}
3650
}

0 commit comments

Comments
 (0)