Skip to content

Commit

Permalink
Spark 3.1: Remove module (apache#8661)
Browse files Browse the repository at this point in the history
  • Loading branch information
aokolnychyi authored Sep 27, 2023
1 parent 1e52f2e commit 3e37106
Show file tree
Hide file tree
Showing 374 changed files with 3 additions and 72,186 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/spark-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
strategy:
matrix:
jvm: [8, 11]
spark: ['3.1', '3.2', '3.3', '3.4', '3.5']
spark: ['3.2', '3.3', '3.4', '3.5']
env:
SPARK_LOCAL_IP: localhost
steps:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ lib/
site/site

# benchmark output
spark/v3.1/spark/benchmark/*
spark/v3.2/spark/benchmark/*
spark/v3.3/spark/benchmark/*
spark/v3.3/spark-extensions/benchmark/*
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.15,1.16,1.17
SPARK_VERSIONS=3.1,3.2,3.3,3.4
SPARK_VERSIONS=3.2,3.3,3.4
HIVE_VERSIONS=2,3

./gradlew -Prelease -DscalaVersion=$SCALA_VERSION -DflinkVersions=$FLINK_VERSIONS -DsparkVersions=$SPARK_VERSIONS -DhiveVersions=$HIVE_VERSIONS publishApachePublicationToMavenRepository
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ systemProp.knownFlinkVersions=1.15,1.16,1.17
systemProp.defaultHiveVersions=2
systemProp.knownHiveVersions=2,3
systemProp.defaultSparkVersions=3.5
systemProp.knownSparkVersions=3.1,3.2,3.3,3.4,3.5
systemProp.knownSparkVersions=3.2,3.3,3.4,3.5
systemProp.defaultScalaVersion=2.12
systemProp.knownScalaVersions=2.12,2.13
org.gradle.parallel=true
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ s3mock-junit5 = "2.11.0"
scala-collection-compat = "2.11.0"
slf4j = "1.7.36"
snowflake-jdbc = "3.13.30"
spark-hive31 = "3.1.3"
spark-hive32 = "3.2.2"
spark-hive33 = "3.3.2"
spark-hive34 = "3.4.1"
Expand Down
4 changes: 0 additions & 4 deletions jmh.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ def sparkVersions = (System.getProperty("sparkVersions") != null ? System.getPro
def scalaVersion = System.getProperty("scalaVersion") != null ? System.getProperty("scalaVersion") : System.getProperty("defaultScalaVersion")
def jmhProjects = [project(":iceberg-core")]

if (sparkVersions.contains("3.1")) {
jmhProjects.add(project(":iceberg-spark:iceberg-spark-3.1_2.12"))
}

if (sparkVersions.contains("3.2")) {
jmhProjects.add(project(":iceberg-spark:iceberg-spark-3.2_${scalaVersion}"))
}
Expand Down
12 changes: 0 additions & 12 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,6 @@ if (flinkVersions.contains("1.17")) {
project(":iceberg-flink:flink-runtime-1.17").name = "iceberg-flink-runtime-1.17"
}

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

if (sparkVersions.contains("3.2")) {
include ":iceberg-spark:spark-3.2_${scalaVersion}"
include ":iceberg-spark:spark-extensions-3.2_${scalaVersion}"
Expand Down
4 changes: 0 additions & 4 deletions spark/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
// add enabled Spark version modules to the build
def sparkVersions = (System.getProperty("sparkVersions") != null ? System.getProperty("sparkVersions") : System.getProperty("defaultSparkVersions")).split(",")

if (sparkVersions.contains("3.1")) {
apply from: file("$projectDir/v3.1/build.gradle")
}

if (sparkVersions.contains("3.2")) {
apply from: file("$projectDir/v3.2/build.gradle")
}
Expand Down
298 changes: 0 additions & 298 deletions spark/v3.1/build.gradle

This file was deleted.

Loading

0 comments on commit 3e37106

Please sign in to comment.