amogh-jahagirdar commented on code in PR #13100:
URL: https://github.com/apache/iceberg/pull/13100#discussion_r2098703160


##########
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:
   Shouldn't this part remain as is? That way if a server is handling the bulk 
update we still update the history entries. I know clients won't send it in 
this release, but it'd make the change more minimal



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