This is an automated email from the ASF dual-hosted git repository.
dongjoon-hyun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 2e209eaf7375 [SPARK-60891][BUILD][TEST] Upgrade `MySQL` JDBC driver to
`26.10.0`
2e209eaf7375 is described below
commit 2e209eaf73754212f45c3dbbdbc1d1b54407f816
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Nov 4 18:54:59 2026 -0800
[SPARK-60891][BUILD][TEST] Upgrade `MySQL` JDBC driver to `26.10.0`
### What changes were proposed in this pull request?
This PR aims to upgrade `MySQL` JDBC driver (`mysql-connector-j`) from
`9.6.0` to `26.10.0`.
### Why are the changes needed?
To maintain JDBC test coverage up-to-date with the latest MySQL JDBC
driver. `mysql-connector-j` is used only in the `test` scope (`sql/core` and
`connector/docker-integration-tests`).
- https://dev.mysql.com/doc/relnotes/connector-j/en/news-26-10-0.html
(2026-10-21)
- https://dev.mysql.com/doc/relnotes/connector-j/en/news-26-7-0.html
(2026-07-29)
- https://dev.mysql.com/doc/relnotes/connector-j/en/news-9-7-0.html
(2026-04-22)
Note that `26.x` supports MySQL Server 8.4 and later, and the default
Docker image of the integration tests (`mysql:9.6.0`) satisfies this.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass the CIs. In addition, I verified locally with JDK 21.
```
build/sbt -Pdocker-integration-tests
"docker-integration-tests/Test/compile" \
"sql/testOnly org.apache.spark.sql.jdbc.JDBCSuite
org.apache.spark.sql.jdbc.JDBCWriteSuite"
```
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Sonnet 5.5
This patch had conflicts when merged, resolved by
Committer: Dongjoon Hyun <[email protected]>
Closes #60106 from dongjoon-hyun/SPARK-60891.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index faabc1f926a4..867867aceafc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -347,7 +347,7 @@
-XX:+EnableDynamicAgentLoading
</extraJavaTestArgs>
<mariadb.java.client.version>3.5.11</mariadb.java.client.version>
- <mysql.connector.version>9.6.0</mysql.connector.version>
+ <mysql.connector.version>26.10.0</mysql.connector.version>
<postgresql.version>42.7.14</postgresql.version>
<db2.jcc.version>12.1.4.0</db2.jcc.version>
<mssql.jdbc.version>13.2.1.jre11</mssql.jdbc.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]