zhangyue19921010 commented on code in PR #13017:
URL: https://github.com/apache/hudi/pull/13017#discussion_r2011362337
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/catalog/HoodieCatalog.java:
##########
@@ -352,12 +352,13 @@ public void createTable(ObjectPath tablePath,
CatalogBaseTable catalogTable, boo
}
conf.setString(FlinkOptions.TABLE_NAME, tablePath.getObjectName());
try {
- StreamerUtil.initTableIfNotExists(conf);
+ HoodieTableMetaClient metaClient =
StreamerUtil.initTableIfNotExists(conf);
// prepare the non-table-options properties
if (!StringUtils.isNullOrEmpty(resolvedTable.getComment())) {
options.put(TableOptionProperties.COMMENT, resolvedTable.getComment());
}
TableOptionProperties.createProperties(tablePathStr, hadoopConf,
options);
+ HoodieCatalogUtil.initPartitionBucketIndexMeta(metaClient, catalogTable);
Review Comment:
consistent hashing meta create and save meta during write process.
For partition bucket index, Hashing_Config can only be created in DDL and
Call commands, but not at runtime
--
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]