geyanggang opened a new pull request, #14946:
URL: https://github.com/apache/gravitino/pull/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.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to