yanghua commented on a change in pull request #2596:
URL: https://github.com/apache/hudi/pull/2596#discussion_r583313615
##########
File path: hudi-cli/src/main/java/org/apache/hudi/cli/commands/TableCommand.java
##########
@@ -106,10 +106,13 @@ public String createTable(
throw new IllegalStateException("Table already existing in path : " +
path);
}
- final HoodieTableType tableType = HoodieTableType.valueOf(tableTypeStr);
- HoodieTableMetaClient.initTableType(HoodieCLI.conf, path, tableType, name,
archiveFolder,
- payloadClass, layoutVersion);
-
+ new HoodieTableConfig.PropertyBuilder()
Review comment:
WDYT about adding a static method named e.g.
`HoodieTableConfig.propertyBuilder()` so that we can make the code more
readable?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]