This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 484bfab6cf [spark] Bump Spark 3.4.4, 3.5.9, 4.0.5 and 4.1.4 (#10962)
484bfab6cf is described below
commit 484bfab6cffdd17acf4621261b9d613d615403bf
Author: cxzl25 <[email protected]>
AuthorDate: Tue Nov 3 16:08:19 2026 +0800
[spark] Bump Spark 3.4.4, 3.5.9, 4.0.5 and 4.1.4 (#10962)
---
paimon-spark/paimon-spark-3.4/pom.xml | 2 +-
paimon-spark/paimon-spark-3.5/pom.xml | 2 +-
paimon-spark/paimon-spark-4.0/pom.xml | 8 ++++----
paimon-spark/paimon-spark-4.1/pom.xml | 2 +-
paimon-spark/paimon-spark-ut-4.0/pom.xml | 12 ++++++------
.../scala/org/apache/spark/sql/paimon/shims/Spark3Shim.scala | 2 +-
pom.xml | 10 +++++-----
7 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/paimon-spark/paimon-spark-3.4/pom.xml
b/paimon-spark/paimon-spark-3.4/pom.xml
index bff6293caa..37f0e3800e 100644
--- a/paimon-spark/paimon-spark-3.4/pom.xml
+++ b/paimon-spark/paimon-spark-3.4/pom.xml
@@ -32,7 +32,7 @@ under the License.
<name>Paimon : Spark : 3.4: ${scala.binary.version}</name>
<properties>
- <spark.version>3.4.3</spark.version>
+ <spark.version>3.4.4</spark.version>
</properties>
<dependencies>
diff --git a/paimon-spark/paimon-spark-3.5/pom.xml
b/paimon-spark/paimon-spark-3.5/pom.xml
index 8299deb60e..a5fd2d180a 100644
--- a/paimon-spark/paimon-spark-3.5/pom.xml
+++ b/paimon-spark/paimon-spark-3.5/pom.xml
@@ -32,7 +32,7 @@ under the License.
<name>Paimon : Spark : 3.5: ${scala.binary.version}</name>
<properties>
- <spark.version>3.5.8</spark.version>
+ <spark.version>3.5.9</spark.version>
</properties>
<dependencies>
diff --git a/paimon-spark/paimon-spark-4.0/pom.xml
b/paimon-spark/paimon-spark-4.0/pom.xml
index 1a0f80701d..a65620c44b 100644
--- a/paimon-spark/paimon-spark-4.0/pom.xml
+++ b/paimon-spark/paimon-spark-4.0/pom.xml
@@ -32,7 +32,7 @@ under the License.
<name>Paimon : Spark : 4.0 : 2.13</name>
<properties>
- <spark.version>4.0.3</spark.version>
+ <spark.version>4.0.5</spark.version>
<!-- Spark 4.x uses SLF4J 2.x (`org.slf4j.spi.LoggingEventBuilder` is
2.x-only). Override
the Paimon parent pom's default `slf4j.version=1.7.32` so the
classpath is uniformly
2.x; otherwise `log4j-slf4j2-impl` + `slf4j-api:1.7.32` mix
produces
@@ -64,11 +64,11 @@ under the License.
<!--
`paimon-spark4-common` transitively pulls in `spark-sql-api` at the
version set by
- `paimon-spark-common.spark.version` (4.1.2 under the `spark4`
profile). Spark 4.1's
+ `paimon-spark-common.spark.version` (4.1.4 under the `spark4`
profile). Spark 4.1's
`SqlApiConf` added abstract `manageParserCaches()`, which Spark
4.0's concrete
anonymous subclasses (e.g. `WithTestConf$$anon$4`) don't implement.
Mixing those
jars produces `AbstractMethodError` at parser configuration time. Pin
- `spark-sql-api` to `${spark.version}` (4.0.3) so the test classpath
is uniformly 4.0.
+ `spark-sql-api` to `${spark.version}` (4.0.5) so the test classpath
is uniformly 4.0.
-->
<dependency>
<groupId>org.apache.spark</groupId>
@@ -90,7 +90,7 @@ under the License.
<version>${spark.version}</version>
<exclusions>
<!--
- Spark 4.0.3 ships a tiny `spark-connect-shims` jar
containing a stub
+ Spark 4.0.5 ships a tiny `spark-connect-shims` jar
containing a stub
`org.apache.spark.SparkConf` with only `getAll()` and a
no-arg constructor
(no `set` etc.). scalac resolves that stub in preference to
spark-core's
real `SparkConf` and fails compile with `value set is not a
member of
diff --git a/paimon-spark/paimon-spark-4.1/pom.xml
b/paimon-spark/paimon-spark-4.1/pom.xml
index c8a9c54020..24f174be3d 100644
--- a/paimon-spark/paimon-spark-4.1/pom.xml
+++ b/paimon-spark/paimon-spark-4.1/pom.xml
@@ -32,7 +32,7 @@ under the License.
<name>Paimon : Spark : 4.1 : 2.13</name>
<properties>
- <spark.version>4.1.2</spark.version>
+ <spark.version>4.1.4</spark.version>
<!-- Spark 4 only supports Scala 2.13. Pin it locally so this _2.13
module resolves its
dependencies to _2.13 even when the spark4 profile is inactive
(see issue #6682);
otherwise it inherits scala.binary.version=2.12 from
paimon-parent. -->
diff --git a/paimon-spark/paimon-spark-ut-4.0/pom.xml
b/paimon-spark/paimon-spark-ut-4.0/pom.xml
index b4a96db574..b78565ff91 100644
--- a/paimon-spark/paimon-spark-ut-4.0/pom.xml
+++ b/paimon-spark/paimon-spark-ut-4.0/pom.xml
@@ -32,7 +32,7 @@ under the License.
<name>Paimon : Spark : UT : 4.0 : ${scala.binary.version}</name>
<!--
- A second compilation of `paimon-spark-ut`'s test sources, against Spark
4.0.3 instead of the
+ A second compilation of `paimon-spark-ut`'s test sources, against Spark
4.0.5 instead of the
`spark4` profile baseline. Owns no sources of its own: `build-helper`
adds
`../paimon-spark-ut/src/test/scala` and `src/test/java` as test-source
roots, and
`<testResources>` points at that module's test resources, so there is
exactly one copy of every
@@ -45,14 +45,14 @@ under the License.
Why it is needed at all: `paimon-spark-4.0` used to consume
`paimon-spark-ut`'s test-jar, which
is compiled against the baseline. Those classfiles reference Spark
symbols that a 4.0 runtime
cannot resolve, which is what `StreamTestCheckAnswerWithTimeoutStub`
stood in for. Compiling
- the same sources against 4.0.3 cannot emit a reference to a symbol 4.0.3
does not have, so the
+ the same sources against 4.0.5 cannot emit a reference to a symbol 4.0.5
does not have, so the
stub is deleted here.
- Serves `paimon-spark-4.0` only: `paimon-spark-4.1` pins 4.1.2, which is
the baseline, so the
+ Serves `paimon-spark-4.0` only: `paimon-spark-4.1` pins 4.1.4, which is
the baseline, so the
baseline build already matches its runtime and it keeps consuming
`paimon-spark-ut` directly.
-->
<properties>
- <spark.version>4.0.3</spark.version>
+ <spark.version>4.0.5</spark.version>
<ut.module.dir>${project.basedir}/../paimon-spark-ut</ut.module.dir>
<!-- Spark 4 only supports Scala 2.13. Pin it locally so this _2.13
module resolves its
dependencies to _2.13 even when the spark4 profile is inactive
(see issue #6682);
@@ -84,9 +84,9 @@ under the License.
<!--
`${paimon-sparkx-common}` transitively pulls in `spark-sql-api` at
the `spark4` profile
- baseline (4.1.2), so every Spark artifact is pinned to
${spark.version} here to keep the
+ baseline (4.1.4), so every Spark artifact is pinned to
${spark.version} here to keep the
whole compile classpath on 4.0. Same reasoning as
`paimon-spark-4.0`, and the same
- `spark-connect-shims` exclusion on `spark-sql-api` and `spark-sql`:
Spark 4.0.3's shims jar
+ `spark-connect-shims` exclusion on `spark-sql-api` and `spark-sql`:
Spark 4.0.5's shims jar
carries a stub `org.apache.spark.SparkConf` with only `getAll()`,
which scalac resolves in
preference to spark-core's real one, failing with `value set is not
a member of
org.apache.spark.SparkConf`.
diff --git
a/paimon-spark/paimon-spark3-common/src/main/scala/org/apache/spark/sql/paimon/shims/Spark3Shim.scala
b/paimon-spark/paimon-spark3-common/src/main/scala/org/apache/spark/sql/paimon/shims/Spark3Shim.scala
index 2e292c4d66..66dc9828c9 100644
---
a/paimon-spark/paimon-spark3-common/src/main/scala/org/apache/spark/sql/paimon/shims/Spark3Shim.scala
+++
b/paimon-spark/paimon-spark3-common/src/main/scala/org/apache/spark/sql/paimon/shims/Spark3Shim.scala
@@ -41,7 +41,7 @@ import
org.apache.spark.sql.catalyst.plans.logical.{Aggregate, Assignment, CTERe
import org.apache.spark.sql.catalyst.plans.physical.Distribution
// NOTE: `MergeRows` / `MergeRows.Keep` were introduced in Spark 3.4. We
access them only via
// reflection inside the `mergeRowsKeep*` method bodies so that loading
`Spark3Shim` does not fail
-// on Spark 3.2 / 3.3 runtimes that still ship `paimon-spark3-common` (the
module targets 3.5.8 at
+// on Spark 3.2 / 3.3 runtimes that still ship `paimon-spark3-common` (the
module targets 3.5.9 at
// compile time but must also run on 3.2 / 3.3).
import org.apache.spark.sql.catalyst.rules.Rule
import org.apache.spark.sql.catalyst.util.{ArrayData, GeneratedColumn,
ResolveDefaultColumns}
diff --git a/pom.xml b/pom.xml
index e339255489..9d585de1b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,7 +131,7 @@ under the License.
<!-- spark profile properties-->
<paimon-sparkx-common>paimon-spark3-common_${scala.binary.version}</paimon-sparkx-common>
-
<paimon-spark-common.spark.version>3.5.8</paimon-spark-common.spark.version>
+
<paimon-spark-common.spark.version>3.5.9</paimon-spark-common.spark.version>
<test.spark.main.version>3.3</test.spark.main.version>
<test.spark.version>3.3.0</test.spark.version>
@@ -411,7 +411,7 @@ under the License.
<properties>
<scala.binary.version>2.12</scala.binary.version>
<scala.version>${scala212.version}</scala.version>
-
<paimon-spark-common.spark.version>3.5.8</paimon-spark-common.spark.version>
+
<paimon-spark-common.spark.version>3.5.9</paimon-spark-common.spark.version>
<paimon-sparkx-common>paimon-spark3-common_${scala.binary.version}</paimon-sparkx-common>
<!-- todo: support the latest spark in paimon e2e test2 -->
<test.spark.main.version>3.3</test.spark.main.version>
@@ -437,14 +437,14 @@ under the License.
<target.java.version>17</target.java.version>
<antlr4.version>4.13.1</antlr4.version>
<scala.binary.version>2.13</scala.binary.version>
- <!-- Spark 4.1.2 is built against Scala 2.13.17; force the
same stdlib here so that
+ <!-- Spark 4.1.4 is built against Scala 2.13.17; force the
same stdlib here so that
`MurmurHash3.caseClassHash$default$2` and related APIs
resolve at runtime. -->
<scala.version>2.13.17</scala.version>
-
<paimon-spark-common.spark.version>4.1.2</paimon-spark-common.spark.version>
+
<paimon-spark-common.spark.version>4.1.4</paimon-spark-common.spark.version>
<paimon-sparkx-common>paimon-spark4-common_2.13</paimon-sparkx-common>
<arrow.version>18.1.0</arrow.version>
<test.spark.main.version>4.1</test.spark.main.version>
- <test.spark.version>4.1.2</test.spark.version>
+ <test.spark.version>4.1.4</test.spark.version>
</properties>
<activation>
<property>