rdblue commented on code in PR #19030:
URL: https://github.com/apache/iceberg/pull/19030#discussion_r4659223221
##########
core/src/main/java/org/apache/iceberg/V4ManifestReader.java:
##########
@@ -59,6 +63,31 @@ class V4ManifestReader extends CloseableGroup implements
CloseableIterable<Track
TrackedFile.CONTENT_TYPE.fieldId(), // needed for content filtering
TrackedFile.RECORD_COUNT.fieldId()); // needed for first_row_id
assignment and filtering
+ /**
+ * Reads leaf manifest locations from a root manifest file.
+ *
+ * @param root a root {@link ManifestFile}
+ * @param io a {@link FileIO}
+ * @return a list of manifest locations tracked by the root manifest
+ */
+ static List<String> readManifestLocations(ManifestFile root, FileIO io) {
Review Comment:
No, `RootManifestFile` is an implementation so we should use the interface.
The reader doesn't make a distinction between root and leaf manifests. We
could introduce that distinction (I had originally assumed it would work that
way) but I think that's a separate question.
--
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]