Forus0322 created HUDI-4251:
-------------------------------
Summary: The command "commits sync" description does not match
about Hudi CLI.
Key: HUDI-4251
URL: https://issues.apache.org/jira/browse/HUDI-4251
Project: Apache Hudi
Issue Type: Improvement
Components: cli
Reporter: Forus0322
The command "commits sync" description does not match about Hudi CLI.
{code:java}
@CliCommand(value = "commits sync", help = "Compare commits with another
Hoodie table")
public String syncCommits(@CliOption(key = {"path"}, help = "Path of the
table to compare to") final String path) {
HoodieCLI.syncTableMetadata =
HoodieTableMetaClient.builder().setConf(HoodieCLI.conf).setBasePath(path).build();
HoodieCLI.state = HoodieCLI.CLIState.SYNC;
return "Load sync state between " +
HoodieCLI.getTableMetaClient().getTableConfig().getTableName() + " and "
+ HoodieCLI.syncTableMetadata.getTableConfig().getTableName();
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)