1
0

[HUDI-689] Change CLI command names to not have overlap (#1392)

This commit is contained in:
satishkotha
2020-03-11 16:29:54 -07:00
committed by GitHub
parent 1ca912af09
commit 7194514aff
2 changed files with 4 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ public class CommitsCommand implements CommandMarker {
}
}
@CliCommand(value = "commits show archived", help = "Show the archived commits")
@CliCommand(value = "commits showarchived", help = "Show the archived commits")
public String showArchivedCommits(
@CliOption(key = {"includeExtraMetadata"}, help = "Include extra metadata",
unspecifiedDefaultValue = "false") final boolean includeExtraMetadata,

View File

@@ -126,8 +126,8 @@ public class CompactionCommand implements CommandMarker {
return printCompaction(compactionPlan, sortByField, descending, limit, headerOnly);
}
@CliCommand(value = "compactions show archived", help = "Shows compaction details for specified time window")
public String compactionShowArchived(
@CliCommand(value = "compactions showarchived", help = "Shows compaction details for specified time window")
public String compactionsShowArchived(
@CliOption(key = {"includeExtraMetadata"}, help = "Include extra metadata",
unspecifiedDefaultValue = "false") final boolean includeExtraMetadata,
@CliOption(key = {"startTs"}, mandatory = false, help = "start time for compactions, default: now - 10 days")
@@ -160,7 +160,7 @@ public class CompactionCommand implements CommandMarker {
}
}
@CliCommand(value = "compaction show archived", help = "Shows compaction details for a specific compaction instant")
@CliCommand(value = "compaction showarchived", help = "Shows compaction details for a specific compaction instant")
public String compactionShowArchived(
@CliOption(key = "instant", mandatory = true,
help = "instant time") final String compactionInstantTime,