yuqi1129 commented on code in PR #10383:
URL: https://github.com/apache/gravitino/pull/10383#discussion_r2938410824
##########
catalogs-contrib/catalog-jdbc-clickhouse/src/main/java/org/apache/gravitino/catalog/clickhouse/operations/ClickHouseTableOperations.java:
##########
@@ -427,6 +431,19 @@ private String toPartitionExpression(Transform transform) {
return quoteIdentifier(fieldName);
}
+ private void validateNoAutoIncrementColumns(JdbcColumn[] columns) {
+ if (ArrayUtils.isEmpty(columns)) {
+ return;
+ }
+
+ for (JdbcColumn column : columns) {
+ if (column.autoIncrement()) {
+ throw new UnsupportedOperationException(
+ "ClickHouse does not support auto increment column in CREATE
TABLE");
Review Comment:
OK
--
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]