Skip to content

Commit 0bb8355

Browse files
Update spark connect dependencies to be 4.0
1 parent 31cecb1 commit 0bb8355

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ lazy val connectClient = (project in file("spark-connect/client"))
335335
),
336336
(Test / javaOptions) += s"-Ddelta.test.home=" + file(".").getAbsoluteFile.getParentFile,
337337
(Test / resourceGenerators) += Def.task {
338-
val location = url("https://dist.apache.org/repos/dist/release/spark/spark-4.0.0-preview1/spark-4.0.0-preview1-bin-hadoop3.tgz")
338+
val location = url("https://dist.apache.org/repos/dist/dev/spark/v4.0.0-rc4-bin/spark-4.0.0-bin-hadoop3.tgz")
339339
val destDir = (Test / resourceManaged).value / "spark"
340340
if (!destDir.exists()) {
341341
IO.createDirectory(destDir)
@@ -371,7 +371,7 @@ lazy val connectClient = (project in file("spark-connect/client"))
371371
}
372372
}.taskValue,
373373
(Test / resourceGenerators) += Def.task {
374-
val src = url("https://repository.apache.org/content/groups/public/org/apache/spark/spark-connect_2.13/4.0.0-preview1/spark-connect_2.13-4.0.0-preview1.jar")
374+
val src = url("https://repository.apache.org/content/repositories/orgapachespark-1480/org/apache/spark/spark-connect_2.13/4.0.0/spark-connect_2.13-4.0.0.jar")
375375
val dest = (Test / resourceManaged).value / "spark-connect.jar"
376376
if (!dest.exists()) {
377377
src #> dest !;

python/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def run_delta_connect_codegen_python(root_dir):
204204
# TODO: In the future, find a way to get these
205205
# packages locally instead of downloading from Maven.
206206
delta_connect_packages = ["com.google.protobuf:protobuf-java:3.25.1",
207-
"org.apache.spark:spark-connect_2.13:4.0.0-preview1",
207+
"org.apache.spark:spark-connect_2.13:4.0.0",
208208
get_local_package("delta-connect-server", use_spark_master)]
209209

210210
test(root_dir, path.join("delta", "connect"), delta_connect_packages)

0 commit comments

Comments
 (0)