nevzheng opened a new pull request, #12081: URL: https://github.com/apache/gravitino/pull/12081
### What changes were proposed in this pull request? Add shared JDBC type-mapping preflight validation for complete create and alter requests. The shared operation layer now validates every type-bearing column or change before generating or executing DDL, and exposes capability hooks for connector-specific checks. Custom ClickHouse and OceanBase operation paths are routed through the same contract. ### Why are the changes needed? A later invalid column in a create or alter request must not leave earlier DDL partially applied. JDBC connectors need one shared boundary that converts or rejects the whole request before database mutation. Fix: #12065 Related: #12056 ### Does this PR introduce _any_ user-facing change? Yes. Unsupported JDBC type mappings fail before DDL generation or execution, preserving the public invalid-argument and no-partial-mutation contract. ### How was this patch tested? - Added focused `JdbcTypeConverter` validation coverage. - Covered both create overloads. - Covered whole-batch alter validation before SQL generation. - Covered connector capability hooks. - Updated `docs/manage-relational-metadata-using-gravitino.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]
