This is an automated email from the ASF dual-hosted git repository.

JingsongLi 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 17bac206cb [iceberg] Fix missing parent snapshot id in 
createMetadataWithoutBase (#8305)
17bac206cb is described below

commit 17bac206cbb4bc32c8647896b211b48ecdc2802c
Author: weibangpeng <[email protected]>
AuthorDate: Mon Jun 22 18:07:38 2026 +0800

    [iceberg] Fix missing parent snapshot id in createMetadataWithoutBase 
(#8305)
---
 .../src/main/java/org/apache/paimon/iceberg/IcebergCommitCallback.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/paimon-core/src/main/java/org/apache/paimon/iceberg/IcebergCommitCallback.java
 
b/paimon-core/src/main/java/org/apache/paimon/iceberg/IcebergCommitCallback.java
index 79c2ecb7ad..4a70b705f7 100644
--- 
a/paimon-core/src/main/java/org/apache/paimon/iceberg/IcebergCommitCallback.java
+++ 
b/paimon-core/src/main/java/org/apache/paimon/iceberg/IcebergCommitCallback.java
@@ -395,7 +395,7 @@ public class IcebergCommitCallback implements 
CommitCallback, TagCallback {
                 new IcebergSnapshot(
                         snapshotId,
                         snapshotId,
-                        null,
+                        snapshotId == Snapshot.FIRST_SNAPSHOT_ID ? null : 
(Long) (snapshotId - 1),
                         System.currentTimeMillis(),
                         snapshotSummary,
                         
pathFactory.toManifestListPath(manifestListFileName).toString(),

Reply via email to