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

   ### What changes were proposed in this pull request?
   
   Backport Iceberg V3 native type mapping from `main` to `branch-1.3` 
(cherry-picks, plus a one-line IT import fix):
   
   1. #11932 — native `variant`
   2. #11958 — native `geometry` / `geography` (CRS / algorithm)
   3. #11938 — `timestamp_ns` / `timestamptz_ns` with zone + precision 9
   4. #11969 — `unknown` → `NullType`
   5. IT compile fix: import `IcebergTablePropertiesMetadata` for 
`FORMAT_VERSION`
   
   Docs conflicts in `manage-relational-metadata-using-gravitino.md` kept the 
`branch-1.3` layout (types live in `tables-and-views.md`); OpenAPI 
`ExternalType` example uses `catalogString`.
   
   ### Why are the changes needed?
   
   Fixes #14534. On `branch-1.3`, `FromIcebergType` still falls through to 
`ExternalType` for V3 primitives and does not override `variant()`, so 
IRC-created v3 tables show wrong types / fail to load. `main` already has the 
mapping.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes on the 1.3 line: v3 columns load as native Gravitino types (with 
zone/CRS/algorithm preserved); `variant` tables become loadable; `unknown` maps 
to `null`.
   
   ### How was this patch tested?
   
   - `./gradlew :api:test --tests 'org.apache.gravitino.rel.TestTypes' 
:common:test --tests 'org.apache.gravitino.json.TestJsonUtils' 
:catalogs:catalog-lakehouse-iceberg:test --tests 
'org.apache.gravitino.catalog.lakehouse.iceberg.converter.TestConvertUtil' 
-PskipITs -PskipDockerTests=true -PskipWeb=true`
   
   
   Made with [Cursor](https://cursor.com)


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