From 032a433c5c250a345ab626cbb3227de7892192f2 Mon Sep 17 00:00:00 2001 From: nobigo Date: Thu, 3 Oct 2024 08:20:27 +0800 Subject: [PATCH] Bump Spark from 2.2.2 to 3.5.3 --- bom/build.gradle.kts | 2 +- gradle.properties | 2 +- spark/build.gradle.kts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bom/build.gradle.kts b/bom/build.gradle.kts index 3128d7215137..180fa8697245 100644 --- a/bom/build.gradle.kts +++ b/bom/build.gradle.kts @@ -125,7 +125,7 @@ dependencies { apiv("org.apache.logging.log4j:log4j-slf4j-impl", "log4j2") apiv("org.apache.pig:pig") apiv("org.apache.pig:pigunit", "pig") - apiv("org.apache.spark:spark-core_2.10", "spark") + apiv("org.apache.spark:spark-core_2.13", "spark") apiv("org.apiguardian:apiguardian-api") apiv("net.bytebuddy:byte-buddy") apiv("org.cassandraunit:cassandra-unit") diff --git a/gradle.properties b/gradle.properties index 90b2c8401118..712bf91b3887 100644 --- a/gradle.properties +++ b/gradle.properties @@ -160,7 +160,7 @@ scott-data-hsqldb.version=0.2 servlet.version=4.0.1 sketches-core.version=0.9.0 slf4j.version=1.7.25 -spark.version=2.2.2 +spark.version=3.5.3 sqlline.version=1.12.0 sql-logic-test.version=0.3 steelwheels-data-hsqldb.version=0.2 diff --git a/spark/build.gradle.kts b/spark/build.gradle.kts index 95e10100fa36..250ac77e12df 100644 --- a/spark/build.gradle.kts +++ b/spark/build.gradle.kts @@ -17,7 +17,7 @@ dependencies { api(project(":core")) api(project(":linq4j")) - api("org.apache.spark:spark-core_2.10") { + api("org.apache.spark:spark-core_2.13") { exclude("org.slf4j", "slf4j-log4j12") .because("conflicts with log4j-slf4j-impl") }