ibessonov commented on code in PR #2247:
URL: https://github.com/apache/ignite-3/pull/2247#discussion_r1241861656
##########
modules/catalog/src/main/java/org/apache/ignite/internal/catalog/CatalogServiceImpl.java:
##########
@@ -877,4 +886,24 @@ private static void validateAlterTableColumn(
throwUnsupportedDdl("Cannot decrease precision to {} for column
'{}'.", target.precision(), origin.name());
}
}
+
+ private static CreateHashIndexParams createPkIndexParams(CreateTableParams
params) {
+ return CreateHashIndexParams.builder()
+ .schemaName(params.schemaName())
+ .tableName(params.tableName())
+ .indexName(params.tableName() + "_PK")
+ .columns(params.primaryKeyColumns())
+ .unique()
+ .build();
+ }
+
+ private static CatalogHashIndexDescriptor createHashIndexDescriptor(
Review Comment:
Is it though?
--
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]