This is an automated email from the ASF dual-hosted git repository. jinsongzhou pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/amoro.git
commit fbd1ee46d6d26d834064ace4cffe0abaf2b54449 Author: xuyu <[email protected]> AuthorDate: Tue Aug 19 16:36:28 2025 +0800 Addressed --- .../src/main/java/org/apache/amoro/formats/mixed/MixedSnapshot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amoro-format-iceberg/src/main/java/org/apache/amoro/formats/mixed/MixedSnapshot.java b/amoro-format-iceberg/src/main/java/org/apache/amoro/formats/mixed/MixedSnapshot.java index e207e5e29..9f0ac67c2 100644 --- a/amoro-format-iceberg/src/main/java/org/apache/amoro/formats/mixed/MixedSnapshot.java +++ b/amoro-format-iceberg/src/main/java/org/apache/amoro/formats/mixed/MixedSnapshot.java @@ -45,11 +45,11 @@ public class MixedSnapshot implements TableSnapshot { return Longs.max(getChangeCommit(), getBaseCommit()); } - public long getChangeCommit() { + private long getChangeCommit() { return Optional.ofNullable(changeSnapshot).map(Snapshot::timestampMillis).orElse(-1L); } - public long getBaseCommit() { + private long getBaseCommit() { return Optional.ofNullable(baseSnapshot).map(Snapshot::timestampMillis).orElse(-1L); }
