You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/14 02:31:00 UTC
[jira] [Updated] (HUDI-4251) The command "commits sync" description does not match about Hudi CLI.
[ https://issues.apache.org/jira/browse/HUDI-4251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-4251:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)