diqiu50 opened a new issue, #13350: URL: https://github.com/apache/gravitino/issues/13350
### Describe the subtask The Hive catalog rejects `NOT NULL` and `DEFAULT` column constraints for every Hive version, although Hive Metastore 3.x supports them (HIVE-16575, HIVE-18726). - Make `HiveCatalogCapability` resolve the connected metastore version lazily and report the constraints as supported only on Hive 3. - Persist constraints in `HiveShimV3` through `createTableWithConstraints` / `addNotNullConstraint` / `addDefaultConstraint` / `dropConstraint`, and read them back on `getTable` so `nullable` and `defaultValue` round-trip. - Add `HiveColumnDefaultValueConverter` to translate default values between Gravitino expressions and Hive SQL text. - Hive 2 behavior is unchanged: the constraints are still rejected with a version-specific message. ### Parent issue https://github.com/apache/gravitino/issues/9627 -- 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]
