From d40aaba15d7a085dfbf467f86aaa75d1045e052e Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 31 Jul 2026 15:45:33 -0600 Subject: [PATCH] chore: bump Spark 3.5 to 3.5.9 Rename dev/diffs/3.5.8.diff to 3.5.9.diff and regenerate it against the v3.5.9 tag, and point the build, CI workflows, and docs at 3.5.9. --- .../actions/setup-spark-builder/action.yaml | 2 +- .github/workflows/ci.yml | 6 +- .../workflows/iceberg_spark_test_reusable.yml | 2 +- .github/workflows/spark_sql_test_reusable.yml | 2 +- .github/workflows/spark_sql_writer_tests.yml | 2 +- dev/ci/compute-changes.py | 2 +- dev/diffs/{3.5.8.diff => 3.5.9.diff} | 68 +++++++++++-------- .../contributor-guide/iceberg-spark-tests.md | 2 +- .../latest/compatibility/spark-versions.md | 2 +- docs/source/user-guide/latest/installation.md | 2 +- pom.xml | 2 +- .../pyspark/benchmark_pyarrow_udf.py | 2 +- .../resources/pyspark/test_pyarrow_udf.py | 2 +- 13 files changed, 52 insertions(+), 44 deletions(-) rename dev/diffs/{3.5.8.diff => 3.5.9.diff} (98%) diff --git a/.github/actions/setup-spark-builder/action.yaml b/.github/actions/setup-spark-builder/action.yaml index 6d9ad6e1d2..84804c0a79 100644 --- a/.github/actions/setup-spark-builder/action.yaml +++ b/.github/actions/setup-spark-builder/action.yaml @@ -22,7 +22,7 @@ inputs: description: 'The Apache Spark short version (e.g., 3.5) to build' required: true spark-version: - description: 'The Apache Spark version (e.g., 3.5.8) to build' + description: 'The Apache Spark version (e.g., 3.5.9) to build' required: true skip-native-build: description: 'Skip native build (when using pre-built artifact)' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be277efa29..4f38a2c515 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -228,7 +228,7 @@ jobs: uses: ./.github/workflows/spark_sql_test_reusable.yml with: spark-short: '3.5' - spark-full: '3.5.8' + spark-full: '3.5.9' java: 17 spark_4_0: @@ -296,7 +296,7 @@ jobs: iceberg-short: '1.9' iceberg-full: '1.9.1' spark-short: '3.5' - spark-full: '3.5.8' + spark-full: '3.5.9' java: 17 iceberg_1_10: @@ -315,7 +315,7 @@ jobs: iceberg-short: '1.10' iceberg-full: '1.10.0' spark-short: '3.5' - spark-full: '3.5.8' + spark-full: '3.5.9' java: 17 iceberg_1_11: diff --git a/.github/workflows/iceberg_spark_test_reusable.yml b/.github/workflows/iceberg_spark_test_reusable.yml index 5f2dfeb5ab..4b72cf47c2 100644 --- a/.github/workflows/iceberg_spark_test_reusable.yml +++ b/.github/workflows/iceberg_spark_test_reusable.yml @@ -37,7 +37,7 @@ on: required: true type: string spark-full: - description: 'Spark full version, e.g. 3.5.8' + description: 'Spark full version, e.g. 3.5.9' required: true type: string java: diff --git a/.github/workflows/spark_sql_test_reusable.yml b/.github/workflows/spark_sql_test_reusable.yml index 7279a13078..5d4f8f0473 100644 --- a/.github/workflows/spark_sql_test_reusable.yml +++ b/.github/workflows/spark_sql_test_reusable.yml @@ -29,7 +29,7 @@ on: required: true type: string spark-full: - description: 'Spark full version, e.g. 3.5.8' + description: 'Spark full version, e.g. 3.5.9' required: true type: string java: diff --git a/.github/workflows/spark_sql_writer_tests.yml b/.github/workflows/spark_sql_writer_tests.yml index 07c028757d..0406aa7ff8 100644 --- a/.github/workflows/spark_sql_writer_tests.yml +++ b/.github/workflows/spark_sql_writer_tests.yml @@ -70,7 +70,7 @@ jobs: # Mirrors ci.yml's per-version reusable invocations (default-on PR # versions only; 3.4 and 4.0 are label-gated and not offered here). case "${{ inputs.spark-version }}" in - 3.5) spark_full=3.5.8; java=17 ;; + 3.5) spark_full=3.5.9; java=17 ;; 4.1) spark_full=4.1.2; java=17 ;; *) echo "Unsupported spark-version: ${{ inputs.spark-version }}" >&2; exit 1 ;; esac diff --git a/dev/ci/compute-changes.py b/dev/ci/compute-changes.py index 47af20d450..195d27e828 100644 --- a/dev/ci/compute-changes.py +++ b/dev/ci/compute-changes.py @@ -125,7 +125,7 @@ "!spark/src/main/spark-4.x/**", "!spark/src/main/scala/org/apache/comet/GenerateDocs.scala", "spark/pom.xml", - "dev/diffs/3.5.8.diff", + "dev/diffs/3.5.9.diff", "pom.xml", "rust-toolchain.toml", ".github/workflows/ci.yml", diff --git a/dev/diffs/3.5.8.diff b/dev/diffs/3.5.9.diff similarity index 98% rename from dev/diffs/3.5.8.diff rename to dev/diffs/3.5.9.diff index 4214767ff8..f15ed14054 100644 --- a/dev/diffs/3.5.8.diff +++ b/dev/diffs/3.5.9.diff @@ -1,17 +1,17 @@ diff --git a/pom.xml b/pom.xml -index edd2ad57880..45f8fd01538 100644 +index 49eca0f7555..ba234805889 100644 --- a/pom.xml +++ b/pom.xml -@@ -152,6 +152,8 @@ - --> - 2.5.1 +@@ -148,6 +148,8 @@ + 0.10.0 + 2.5.3 2.0.8 + 3.5 + 1.0.0-SNAPSHOT