Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzelin committed Jan 2, 2025
1 parent 5cd3883 commit 74fc74d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions paimon-common/src/main/java/org/apache/paimon/CoreOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -1092,15 +1092,14 @@ public class CoreOptions implements Serializable {
.linebreak()
.list(
text(
"\"strict\": Find the start tag strictly. Throw exception if the start "
+ "tag doesn't exist."))
"\"strict\": Throw exception if the start tag doesn't exist."))
.list(
text(
"\"earlier-strict\": If the start tag exists, start form it. Otherwise, "
+ "start from the most earlier tag or throw exception if no earlier tag found."))
"\"earlier-strict\": If either the start tag or its most earlier tag exists, "
+ "start from it. Otherwise, throw exception."))
.list(
text(
"\"earlier-or-empty\": If the start tag or its most earlier tag exists, "
"\"earlier-or-empty\": If either the start tag or its most earlier tag exists, "
+ "start from it. Otherwise, the incremental changes are empty."))
.build());

Expand Down Expand Up @@ -2759,14 +2758,13 @@ public static IncrementalBetweenScanMode fromValue(String value) {

/** Specify the behavior of the start when incremental read auto tags. */
public enum IncrementalAutoTagStartMode implements DescribedEnum {
STRICT("strict", "From the start tag strictly."),
STRICT("strict", "Throw exception if the start tag doesn't exist."),
EARLIER_STRICT(
"earlier-strict",
"If the start tag exists, start form it. Otherwise, start from the most earlier tag. "
+ "If no earlier tag, throw exception."),
"If either the start tag or its most earlier tag exists, start form it. Otherwise, throw exception."),
EARLIER_OR_EMPTY(
"earlier-or-empty",
"If the start tag or its most earlier tag exists, start form it. Otherwise, the incremental "
"If either the start tag or its most earlier tag exists, start from it. Otherwise, the incremental "
+ "changes are empty.");

private final String value;
Expand Down

0 comments on commit 74fc74d

Please sign in to comment.