felixYyu commented on issue #4161:
URL: https://github.com/apache/iceberg/issues/4161#issuecomment-1044260521


   BaseRewriteManifests check method:
   ```
   private void validateDeletedManifests(Set<ManifestFile> currentManifests) {
       // directly deleted manifests must be still present in the current 
snapshot
       deletedManifests.stream()
           .filter(manifest -> !currentManifests.contains(manifest))
           .findAny()
           .ifPresent(manifest -> {
             throw new ValidationException("Manifest is missing: %s", 
manifest.path());
           });
     }
   ```


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