clairemcginty commented on code in PR #16935:
URL: https://github.com/apache/iceberg/pull/16935#discussion_r3455540603
##########
core/src/main/java/org/apache/iceberg/ManifestLists.java:
##########
@@ -32,16 +31,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 RuntimeIOException(
Review Comment:
note: this is the same exception wrapper used later on
[L51](https://github.com/apache/iceberg/pull/16935/changes#diff-98eafe646a33c5dd884f4c8e51a5637589a80328a9142cdb967ca2b5fbb2deafR51)
for other runtime reader issues.
--
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]