aihuaxu commented on code in PR #13100:
URL: https://github.com/apache/iceberg/pull/13100#discussion_r2098728228


##########
core/src/main/java/org/apache/iceberg/TableMetadata.java:
##########
@@ -1838,11 +1832,7 @@ private static List<HistoryEntry> updateSnapshotLog(
       Set<Long> intermediateSnapshotIds = intermediateSnapshotIdSet(changes, 
currentSnapshotId);
       boolean hasIntermediateSnapshots = !intermediateSnapshotIds.isEmpty();
       boolean hasRemovedSnapshots =
-          changes.stream()
-              .anyMatch(
-                  change ->
-                      change instanceof MetadataUpdate.RemoveSnapshots
-                          || change instanceof MetadataUpdate.RemoveSnapshot);

Review Comment:
   Sounds good. Let me revert this minimize the change.



-- 
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