rdblue commented on code in PR #3457:
URL: https://github.com/apache/iceberg/pull/3457#discussion_r990830253
##########
spark/v3.2/spark/src/test/java/org/apache/iceberg/spark/data/TestHelpers.java:
##########
@@ -808,4 +810,11 @@ public static Set<DeleteFile> deleteFiles(Table table) {
return deleteFiles;
}
+
+ public static Set<String> reachableManifestPaths(Table table) {
+ return StreamSupport.stream(table.snapshots().spliterator(), false)
Review Comment:
There's actually a method in `ManifestFiles` that more efficiently returns
just the paths if you want to use it. @amogh-jahagirdar uses it in the
non-Spark reachable file implementation:
https://github.com/apache/iceberg/pull/5669#discussion_r990676800
--
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]