1
0

[MINOR] Make CLI 'commit rollback' using rollbackUsingMarkers false as default (#5174)

Co-authored-by: yuezhang <yuezhang@freewheel.tv>
This commit is contained in:
YueZhang
2022-06-30 01:12:46 +08:00
committed by GitHub
parent 637660b7aa
commit e71f04768e

View File

@@ -233,7 +233,7 @@ public class CommitsCommand implements CommandMarker {
@CliOption(key = "sparkMaster", unspecifiedDefaultValue = "", help = "Spark Master") String master,
@CliOption(key = "sparkMemory", unspecifiedDefaultValue = "4G",
help = "Spark executor memory") final String sparkMemory,
@CliOption(key = "rollbackUsingMarkers", unspecifiedDefaultValue = "true",
@CliOption(key = "rollbackUsingMarkers", unspecifiedDefaultValue = "false",
help = "Enabling marker based rollback") final String rollbackUsingMarkers)
throws Exception {
HoodieActiveTimeline activeTimeline = HoodieCLI.getTableMetaClient().getActiveTimeline();