RussellSpitzer commented on code in PR #6682:
URL: https://github.com/apache/iceberg/pull/6682#discussion_r1096378212


##########
core/src/main/java/org/apache/iceberg/BaseIncrementalScan.java:
##########
@@ -131,7 +131,8 @@ private Long fromSnapshotIdExclusive(long 
toSnapshotIdInclusive) {
       } else {
         // validate there is an ancestor of toSnapshotIdInclusive where parent 
is fromSnapshotId
         Preconditions.checkArgument(
-            SnapshotUtil.isParentAncestorOf(table(), toSnapshotIdInclusive, 
fromSnapshotId),
+            SnapshotUtil.isParentAncestorOf(table(), toSnapshotIdInclusive, 
fromSnapshotId)
+                || fromSnapshotId.equals(toSnapshotIdInclusive),

Review Comment:
   Woops this needs to be removed



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to