Skip to content

Commit

Permalink
[MINOR] Fix typo in HoodieArchivalConfig (apache#6542)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihua authored and fengjian committed Apr 5, 2023
1 parent f292559 commit a3c3934
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public class HoodieArchivalConfig extends HoodieConfig {
public static final ConfigProperty<String> MAX_COMMITS_TO_KEEP = ConfigProperty
.key("hoodie.keep.max.commits")
.defaultValue("30")
.withDocumentation("Archiving service moves older entries from timeline into an archived log after each write, to "
.withDocumentation("Archiving service moves older entries from timeline into an archived log after each write, to"
+ " keep the metadata overhead constant, even as the table size grows."
+ "This config controls the maximum number of instants to retain in the active timeline. ");
+ " This config controls the maximum number of instants to retain in the active timeline. ");

public static final ConfigProperty<Integer> DELETE_ARCHIVED_INSTANT_PARALLELISM_VALUE = ConfigProperty
.key("hoodie.archive.delete.parallelism")
Expand All @@ -69,7 +69,7 @@ public class HoodieArchivalConfig extends HoodieConfig {
.key("hoodie.keep.min.commits")
.defaultValue("20")
.withDocumentation("Similar to " + MAX_COMMITS_TO_KEEP.key() + ", but controls the minimum number of"
+ "instants to retain in the active timeline.");
+ " instants to retain in the active timeline.");

public static final ConfigProperty<String> COMMITS_ARCHIVAL_BATCH_SIZE = ConfigProperty
.key("hoodie.commits.archival.batch")
Expand Down Expand Up @@ -97,8 +97,8 @@ public class HoodieArchivalConfig extends HoodieConfig {
.key("hoodie.archive.beyond.savepoint")
.defaultValue(false)
.sinceVersion("0.12.0")
.withDocumentation("If enabled, archival will proceed beyond savepoint, skipping savepoint commits. "
+ "If disabled, archival will stop at the earliest savepoint commit.");
.withDocumentation("If enabled, archival will proceed beyond savepoint, skipping savepoint commits."
+ " If disabled, archival will stop at the earliest savepoint commit.");

/**
* @deprecated Use {@link #MAX_COMMITS_TO_KEEP} and its methods instead
Expand Down

0 comments on commit a3c3934

Please sign in to comment.