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

   ### What changes were proposed in this pull request?
   
   Define and document ClickHouse compatibility for the five Gravitino 
V3-native type families.
   
   | Type family | Outcome |
   | --- | --- |
   | Nanosecond timestamps | Round-trip exact precision-9 timestamps, including 
the UTC timezone-aware representation. |
   | Variant | Reject because the available JSON-like types do not implement 
the complete Variant contract. |
   | Unknown/Null | Reject. |
   | Geometry | Reject because CRS metadata cannot be recovered faithfully. |
   | Geography | Reject because CRS and edge-algorithm metadata cannot be 
recovered faithfully. |
   
   ### Why are the changes needed?
   
   ClickHouse can represent nanosecond timestamps exactly, but the remaining 
families would lose type identity or parameters. The connector must distinguish 
the exact mapping from the lossy ones.
   
   Fix: #12070
   
   Related: #12056
   
   Shared JDBC preflight: #12065
   
   Shared JDBC preflight PR: #12081
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Precision-9 timestamps gain an exact mapping; unsupported Variant, 
Unknown, and spatial schemas fail before DDL.
   
   ### How was this patch tested?
   
   - Added exact timestamp round-trip coverage.
   - Added converter and custom-operation rejection coverage.
   - Covered Docker rejected-create and no-table behavior.
   - Updated `docs/jdbc-clickhouse-catalog.md`.
   


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