This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new ba4d5bd847 [HUDI-4251] Fix the problem that the command 'commits sync' 
description does not match. (#5881)
ba4d5bd847 is described below

commit ba4d5bd847a3844796a3d176db26b494c84814b4
Author: Forus <[email protected]>
AuthorDate: Tue Jun 21 07:03:58 2022 +0800

    [HUDI-4251] Fix the problem that the command 'commits sync' description 
does not match. (#5881)
---
 .../src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java 
b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java
index db1cd207df..0827e5d0d6 100644
--- a/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java
+++ b/hudi-cli/src/main/java/org/apache/hudi/cli/commands/CommitsCommand.java
@@ -442,8 +442,8 @@ public class CommitsCommand implements CommandMarker {
     }
   }
 
-  @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) {
+  @CliCommand(value = "commits sync", help = "Sync commits with another Hoodie 
table")
+  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.state = HoodieCLI.CLIState.SYNC;
     return "Load sync state between " + 
HoodieCLI.getTableMetaClient().getTableConfig().getTableName() + " and "

Reply via email to