This is an automated email from the ASF dual-hosted git repository.
dongjoon 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 a9f602f96274 [SPARK-55573][SQL][TESTS] Upgrade `PostgreSQL` JDBC
driver to `42.7.10` and revise test case
a9f602f96274 is described below
commit a9f602f96274afbd0724370beffb6128597de009
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Feb 18 08:54:03 2026 -0800
[SPARK-55573][SQL][TESTS] Upgrade `PostgreSQL` JDBC driver to `42.7.10` and
revise test case
### What changes were proposed in this pull request?
This PR aims to upgrade `PostgreSQL` JDBC driver to `42.7.10` and revise
test case.
### Why are the changes needed?
To maintain `PostgreSQL` JDBC driver test coverage up-to-date.
- https://jdbc.postgresql.org/changelogs/2026-02-11-42/ (42.7.10)
- https://jdbc.postgresql.org/changelogs/2026-01-15-42/ (42.7.9)
- https://jdbc.postgresql.org/changelogs/2025-09-18-42/ (42.7.8)
### Does this PR introduce _any_ user-facing change?
No, this is a test dependency and test case revision.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: `Gemini 3 Pro (High)` on `Antigravity`
Closes #54347 from dongjoon-hyun/SPARK-55573.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala | 3 +--
pom.xml | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git
a/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
b/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
index abbb60bae6f2..bae08570b666 100644
---
a/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
+++
b/connector/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/PostgresIntegrationSuite.scala
@@ -350,8 +350,7 @@ class PostgresIntegrationSuite extends
SharedJDBCIntegrationSuite {
assert(rows(0).getSeq(21) == Seq("<(500.0,200.0),100.0>"))
assert(rows(0).getSeq(22) == Seq("16/B374D848"))
assert(rows(0).getSeq(23) == Seq("101010"))
- assert(rows(0).getSeq(24) == Seq("0 years 0 mons 1 days 0 hours 0 mins 0.0
secs",
- "0 years 0 mons 0 days 0 hours 2 mins 0.0 secs"))
+ assert(rows(0).getSeq(24) == Seq("1 days", "2 mins"))
assert(rows(0).getSeq(25) == Seq("08:00:2b:01:02:03:04:05"))
assert(rows(0).getSeq(26) == Seq("10:20:10,14,15"))
}
diff --git a/pom.xml b/pom.xml
index a81858e2e13d..dde15c732974 100644
--- a/pom.xml
+++ b/pom.xml
@@ -339,7 +339,7 @@
</extraJavaTestArgs>
<mariadb.java.client.version>3.5.7</mariadb.java.client.version>
<mysql.connector.version>9.6.0</mysql.connector.version>
- <postgresql.version>42.7.7</postgresql.version>
+ <postgresql.version>42.7.10</postgresql.version>
<db2.jcc.version>11.5.9.0</db2.jcc.version>
<mssql.jdbc.version>13.2.1.jre11</mssql.jdbc.version>
<ojdbc17.version>23.6.0.24.10</ojdbc17.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]