nastra commented on code in PR #11616:
URL: https://github.com/apache/iceberg/pull/11616#discussion_r1851873599
##########
spark/v3.5/spark/src/test/java/org/apache/iceberg/spark/actions/TestRemoveOrphanFilesAction3.java:
##########
@@ -61,6 +61,8 @@ public void testSparkCatalogTable() throws Exception {
assertThat(StreamSupport.stream(results.orphanFileLocations().spliterator(),
false))
.as("trash file should be removed")
.anyMatch(file -> file.contains("file:" + location + trashFile));
+
+ cat.purgeTable(id);
Review Comment:
there are a few places in this class and in its super class where this is
being done, so might be worth adding a small method that does
`UUID.randomUUID().toString().replace("-", "")` and appends this to the passed
table name
--
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]