This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 478bbf2f8 [minor] Add Nullable to logOffsets in Snapshot
478bbf2f8 is described below
commit 478bbf2f81c405da8ca0f4865c3c55f65380a142
Author: Jingsong <[email protected]>
AuthorDate: Mon May 6 15:12:55 2024 +0800
[minor] Add Nullable to logOffsets in Snapshot
---
paimon-core/src/main/java/org/apache/paimon/Snapshot.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/paimon-core/src/main/java/org/apache/paimon/Snapshot.java
b/paimon-core/src/main/java/org/apache/paimon/Snapshot.java
index fefc41058..20d414092 100644
--- a/paimon-core/src/main/java/org/apache/paimon/Snapshot.java
+++ b/paimon-core/src/main/java/org/apache/paimon/Snapshot.java
@@ -232,7 +232,7 @@ public class Snapshot {
@JsonProperty(FIELD_COMMIT_IDENTIFIER) long commitIdentifier,
@JsonProperty(FIELD_COMMIT_KIND) CommitKind commitKind,
@JsonProperty(FIELD_TIME_MILLIS) long timeMillis,
- @JsonProperty(FIELD_LOG_OFFSETS) Map<Integer, Long> logOffsets,
+ @JsonProperty(FIELD_LOG_OFFSETS) @Nullable Map<Integer, Long>
logOffsets,
@JsonProperty(FIELD_TOTAL_RECORD_COUNT) @Nullable Long
totalRecordCount,
@JsonProperty(FIELD_DELTA_RECORD_COUNT) @Nullable Long
deltaRecordCount,
@JsonProperty(FIELD_CHANGELOG_RECORD_COUNT) @Nullable Long
changelogRecordCount,