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() {