This is an automated email from the ASF dual-hosted git repository.
jerryshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new fd2e47de73 [#14945] improvement(deps): Update the PostgreSQL driver in
the Paimon catalog to 42.7.14 (#14946)
fd2e47de73 is described below
commit fd2e47de7372840559b5e61875c633cecb939ab4
Author: geyanggang <[email protected]>
AuthorDate: Fri Nov 13 09:54:55 2026 +0800
[#14945] improvement(deps): Update the PostgreSQL driver in the Paimon
catalog to 42.7.14 (#14946)
### What changes were proposed in this pull request?
- Add `libs.postgresql.driver` to the `constraints {}` block of
`catalogs/catalog-lakehouse-paimon/build.gradle.kts`, next to snakeyaml
and woodstox.
### Why are the changes needed?
`paimon-core` 1.2.0 pulls `postgresql:42.7.3` transitively, so the
Paimon catalog runtime still shipped 42.7.3 while the version catalog is
already on 42.7.14. The constraint makes the catalog resolve to the
catalog version. The license of the driver is unchanged (BSD-2-Clause),
and no entry for it exists in `dev/release/maven`, so no audit file
needs to change.
Fix: #14945
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- `dependencyInsight` on `runtimeClasspath` shows `postgresql:42.7.3 ->
42.7.14` (selected by constraint), and `runtimeJars` now outputs
`postgresql-42.7.14.jar`.
- `./gradlew :catalogs:catalog-lakehouse-paimon:build -PskipITs` passes
(80 unit tests, 0 failures) and `spotlessCheck` passes.
- A standalone check with the runtime jars of the module and a
PostgreSQL 16 container: a Paimon JDBC catalog creates and lists a
database and a table, and drops them, using driver 42.7.14.
---
catalogs/catalog-lakehouse-paimon/build.gradle.kts | 1 +
1 file changed, 1 insertion(+)
diff --git a/catalogs/catalog-lakehouse-paimon/build.gradle.kts
b/catalogs/catalog-lakehouse-paimon/build.gradle.kts
index 304a83c465..8e91b8609f 100644
--- a/catalogs/catalog-lakehouse-paimon/build.gradle.kts
+++ b/catalogs/catalog-lakehouse-paimon/build.gradle.kts
@@ -116,6 +116,7 @@ dependencies {
implementation(libs.guava)
constraints {
+ implementation(libs.postgresql.driver)
implementation(libs.snakeyaml)
implementation(libs.woodstox.core)
}