hdygxsj commented on code in PR #6362: URL: https://github.com/apache/gravitino/pull/6362#discussion_r1950099772
########## flink-connector/flink/src/main/java/org/apache/gravitino/flink/connector/catalog/BaseCatalog.java: ########## @@ -521,12 +554,30 @@ protected CatalogBaseTable toFlinkTable(Table table) { .column(column.name(), column.nullable() ? flinkType.nullable() : flinkType.notNull()) .withComment(column.comment()); } + handleFlinkPrimaryKey(table, builder); Map<String, String> flinkTableProperties = propertiesConverter.toFlinkTableProperties(table.properties()); List<String> partitionKeys = partitionConverter.toFlinkPartitionKeys(table.partitioning()); return CatalogTable.of(builder.build(), table.comment(), partitionKeys, flinkTableProperties); } + private static void handleFlinkPrimaryKey( Review Comment: done -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org