[HUDI-4251] Fix the problem that the command 'commits sync' description does not match. (#5881)
This commit is contained in:
@@ -442,8 +442,8 @@ public class CommitsCommand implements CommandMarker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@CliCommand(value = "commits sync", help = "Compare commits with another Hoodie table")
|
@CliCommand(value = "commits sync", help = "Sync commits with another Hoodie table")
|
||||||
public String syncCommits(@CliOption(key = {"path"}, help = "Path of the table to compare to") final String path) {
|
public String syncCommits(@CliOption(key = {"path"}, help = "Path of the table to sync to") final String path) {
|
||||||
HoodieCLI.syncTableMetadata = HoodieTableMetaClient.builder().setConf(HoodieCLI.conf).setBasePath(path).build();
|
HoodieCLI.syncTableMetadata = HoodieTableMetaClient.builder().setConf(HoodieCLI.conf).setBasePath(path).build();
|
||||||
HoodieCLI.state = HoodieCLI.CLIState.SYNC;
|
HoodieCLI.state = HoodieCLI.CLIState.SYNC;
|
||||||
return "Load sync state between " + HoodieCLI.getTableMetaClient().getTableConfig().getTableName() + " and "
|
return "Load sync state between " + HoodieCLI.getTableMetaClient().getTableConfig().getTableName() + " and "
|
||||||
|
|||||||
Reference in New Issue
Block a user