geyanggang opened a new pull request, #11351:
URL: https://github.com/apache/gravitino/pull/11351

   
   
   ### What changes were proposed in this pull request?
   
   1. Upgrade h2 from 1.4.200 to 2.2.224 in libs.versions.toml.
   2. Fix implicit JOIN syntax in `TagMetadataObjectRelBaseSQLProvider` — 
change `A JOIN B JOIN C ON ...` to `A JOIN B ON ... JOIN C ON ...` to comply 
with H2 2.x strict SQL parsing. This aligns with the existing PostgreSQL 
provider implementation.
   
   ### Why are the changes needed?
   
   The h2 1.4.200 is outdated and no longer maintained. Upgrading to 2.2.224 
improves stability. The JOIN syntax fix is required because H2 2.x enforces 
standard SQL JOIN semantics where each JOIN must have its own ON clause.
   
   Fix: #11350 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. H2 is used as the default embedded storage backend for 
development/testing. Production deployments typically use MySQL or PostgreSQL.
   
   ### How was this patch tested?
   
   - `./gradlew :core:test -PskipITs` — all tests passed
   - `./gradlew :maintenance:updaters:test :maintenance:optimizer:test 
-PskipITs` — passed
   - `./gradlew :authorizations:authorization-common:test -PskipITs` — passed
   - `./gradlew :clients:client-java:test -PskipITs` — passed
   - `./gradlew :iceberg:iceberg-rest-server:test -PskipITs` — passed
   


-- 
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