Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .github/workflows/spark-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,21 @@ jobs:
strategy:
matrix:
jvm: [11, 17, 21]
spark: ['3.4', '3.5', '4.0']
spark: ['3.4', '3.5', '4.0', '4.1']
scala: ['2.12', '2.13']
exclude:
# Spark 3.5 is the first version not failing on Java 21 (https://issues.apache.org/jira/browse/SPARK-42369)
# Full Java 21 support is coming in Spark 4 (https://issues.apache.org/jira/browse/SPARK-43831)
- jvm: 11
spark: '4.0'
- jvm: 11
spark: '4.1'
- jvm: 21
spark: '3.4'
- spark: '4.0'
scala: '2.12'
- spark: '4.1'
scala: '2.12'
env:
SPARK_LOCAL_IP: localhost
steps:
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ allprojects {
group = "org.apache.iceberg"
version = projectVersion
repositories {
maven {
url = uri("https://repository.apache.org/content/repositories/orgapachespark-1504/")
}
mavenCentral()
mavenLocal()
}
Expand Down
2 changes: 1 addition & 1 deletion dev/stage-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

SCALA_VERSION=2.12
FLINK_VERSIONS=1.20,2.0,2.1
SPARK_VERSIONS=3.4,3.5,4.0
SPARK_VERSIONS=3.4,3.5,4.0,4.1
KAFKA_VERSIONS=3

./gradlew -Prelease -DscalaVersion=$SCALA_VERSION -DflinkVersions=$FLINK_VERSIONS -DsparkVersions=$SPARK_VERSIONS -DkafkaVersions=$KAFKA_VERSIONS publishApachePublicationToMavenRepository --no-parallel --no-configuration-cache
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jmhJsonOutputPath=build/reports/jmh/results.json
jmhIncludeRegex=.*
systemProp.defaultFlinkVersions=2.1
systemProp.knownFlinkVersions=1.20,2.0,2.1
systemProp.defaultSparkVersions=4.0
systemProp.knownSparkVersions=3.4,3.5,4.0
systemProp.defaultSparkVersions=4.1
systemProp.knownSparkVersions=3.4,3.5,4.0,4.1
systemProp.defaultKafkaVersions=3
systemProp.knownKafkaVersions=3
systemProp.defaultScalaVersion=2.12
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ snowflake-jdbc = "3.26.1"
spark34 = "3.4.4"
spark35 = "3.5.7"
spark40 = "4.0.1"
spark41 = "4.1.0-preview3"
sqlite-jdbc = "3.50.3.0"
testcontainers = "1.21.3"
tez08 = { strictly = "0.8.4"} # see rich version usage explanation above
Expand Down
5 changes: 5 additions & 0 deletions jmh.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ if (sparkVersions.contains("4.0")) {
jmhProjects.add(project(":iceberg-spark:iceberg-spark-extensions-4.0_2.13"))
}

if (sparkVersions.contains("4.1")) {
jmhProjects.add(project(":iceberg-spark:iceberg-spark-4.1_2.13"))
jmhProjects.add(project(":iceberg-spark:iceberg-spark-extensions-4.1_2.13"))
}

configure(jmhProjects) {
apply plugin: 'me.champeau.jmh'
apply plugin: 'io.morethan.jmhreport'
Expand Down
12 changes: 12 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,18 @@ if (sparkVersions.contains("4.0")) {
project(":iceberg-spark:spark-runtime-4.0_2.13").name = "iceberg-spark-runtime-4.0_2.13"
}

if (sparkVersions.contains("4.1")) {
include ":iceberg-spark:spark-4.1_2.13"
include ":iceberg-spark:spark-extensions-4.1_2.13"
include ":iceberg-spark:spark-runtime-4.1_2.13"
project(":iceberg-spark:spark-4.1_2.13").projectDir = file('spark/v4.1/spark')
project(":iceberg-spark:spark-4.1_2.13").name = "iceberg-spark-4.1_2.13"
project(":iceberg-spark:spark-extensions-4.1_2.13").projectDir = file('spark/v4.1/spark-extensions')
project(":iceberg-spark:spark-extensions-4.1_2.13").name = "iceberg-spark-extensions-4.1_2.13"
project(":iceberg-spark:spark-runtime-4.1_2.13").projectDir = file('spark/v4.1/spark-runtime')
project(":iceberg-spark:spark-runtime-4.1_2.13").name = "iceberg-spark-runtime-4.1_2.13"
}

if (kafkaVersions.contains("3")) {
include 'kafka-connect'
project(':kafka-connect').name = 'iceberg-kafka-connect'
Expand Down
4 changes: 4 additions & 0 deletions spark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ if (sparkVersions.contains("3.5")) {
if (sparkVersions.contains("4.0")) {
apply from: file("$projectDir/v4.0/build.gradle")
}

if (sparkVersions.contains("4.1")) {
apply from: file("$projectDir/v4.1/build.gradle")
}
Loading