ajantha-bhat commented on code in PR #12716: URL: https://github.com/apache/iceberg/pull/12716#discussion_r2029317787
########## core/src/main/java/org/apache/iceberg/view/ViewMetadataParser.java: ########## @@ -175,7 +175,8 @@ public static ViewMetadata read(InputFile file) { codec == Codec.GZIP ? new GZIPInputStream(file.newStream()) : file.newStream()) { return fromJson(file.location(), JsonUtil.mapper().readValue(is, JsonNode.class)); } catch (IOException e) { - throw new UncheckedIOException(String.format("Failed to read json file: %s", file), e); + throw new UncheckedIOException( + String.format("Failed to read json file: %s", file.location()), e); Review Comment: I would like to handle the same for `OutputFile` also. Maybe you can do it in a follow up PR. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org