You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/03/03 04:38:12 UTC

[GitHub] [iceberg] XuQianJin-Stars commented on a change in pull request #2271: Add position in manifest to DeleteFile's UT

XuQianJin-Stars commented on a change in pull request #2271:
URL: https://github.com/apache/iceberg/pull/2271#discussion_r586103980



##########
File path: core/src/test/java/org/apache/iceberg/TableTestBase.java
##########
@@ -214,6 +214,23 @@ ManifestFile writeManifest(Long snapshotId, ManifestEntry<?>... entries) throws
     return writer.toManifestFile();
   }
 
+  @SuppressWarnings("checkstyle:HiddenField")
+  ManifestFile writeDeleteManifest(int formatVersion, Long snapshotId, DeleteFile... deleteFiles)

Review comment:
       > Seems like we've already provided a `writeManifest` to write DeleteFiles into delete manifests (https://github.com/apache/iceberg/pull/2271/files#diff-65ca95dcbe2f4bca89bc9454f5434afa4d054a97ae76f01c6a224a41a749a1b2R192) ? So seems we don't have to provide another `writeDeleteManifest` ?
   
   Can't meet the requirements, here needs a Manifest whose content is deleted(https://github.com/apache/iceberg/blob/1dbfe30c4ea9831c87a5f1e704f6b628a04c9c6b/core/src/main/java/org/apache/iceberg/ManifestFiles.java#L145 ).




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

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



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