clairemcginty commented on code in PR #16935:
URL: https://github.com/apache/iceberg/pull/16935#discussion_r3463020786
##########
core/src/main/java/org/apache/iceberg/ManifestLists.java:
##########
@@ -32,16 +32,12 @@
class ManifestLists {
private ManifestLists() {}
- static InputFile newInputFile(FileIO io, ManifestListFile manifestList) {
- InputFile input = io.newInputFile(manifestList);
- if (ManifestFiles.cachingEnabled(io)) {
- return ManifestFiles.contentCache(io).tryCache(input);
+ static List<ManifestFile> read(InputFile manifestList) {
+ if (!manifestList.exists()) {
+ throw new NotFoundException(
+ "Failed to read manifest list: file %s does not exist",
manifestList.location());
}
Review Comment:
actually, this problem goes away after I rebased against
https://github.com/apache/iceberg/commit/2f1e3d0dec85f79ac020911ff0b114a3f297e52b;
now it's just wrapping the error message with slightly more specific wording.
--
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]