From ec2dbfaee4042d4af684a4a65d9d5430329c2c87 Mon Sep 17 00:00:00 2001 From: zouxxyy Date: Fri, 15 Dec 2023 00:41:45 +0800 Subject: [PATCH] 1 --- paimon-common/src/main/java/org/apache/paimon/CoreOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java index 6e02e486a5bab..bd9438306a307 100644 --- a/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java +++ b/paimon-common/src/main/java/org/apache/paimon/CoreOptions.java @@ -1339,7 +1339,7 @@ public List sequenceAutoPadding() { } public boolean incSeqPadding() { - return options.get(SEQUENCE_AUTO_PADDING).equals(SequenceAutoPadding.INC_SEQ.value); + return SequenceAutoPadding.INC_SEQ.value.equals(options.get(SEQUENCE_AUTO_PADDING)); } public boolean writeOnly() {