rdblue commented on code in PR #4744:
URL: https://github.com/apache/iceberg/pull/4744#discussion_r878393504


##########
core/src/main/java/org/apache/iceberg/util/SnapshotUtil.java:
##########
@@ -107,6 +107,19 @@ public static Snapshot oldestAncestor(Table table) {
     return lastSnapshot;
   }
 
+  /**
+   * Traverses the history and finds the oldest ancestor of snapshotId.

Review Comment:
   Note that this may return `snapshotId` if that snapshot is the oldest known 
snapshot (its parent is null or has been expired).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to