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 2022/02/25 23:16:13 UTC
[GitHub] [iceberg] szehon-ho commented on a change in pull request #4211: Add test for Table::expireSnapshot API removing delete files
szehon-ho commented on a change in pull request #4211:
URL: https://github.com/apache/iceberg/pull/4211#discussion_r815214292
##########
File path: core/src/test/java/org/apache/iceberg/TestRemoveSnapshots.java
##########
@@ -1143,4 +1145,66 @@ public void testExpireWithDefaultSnapshotAge() {
Sets.newHashSet(firstSnapshot.manifestListLocation(), secondSnapshot.manifestListLocation()),
deletedFiles);
}
+
+ @Test
+ public void testExpireWithDeleteFiles() {
+ Assume.assumeTrue("Delete files only supported in V2 spec", formatVersion == 2);
+ table.updateProperties()
Review comment:
Sorry must have slipped in from copy and paste, nice catch, done
--
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-unsubscribe@iceberg.apache.org
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