RussellSpitzer commented on code in PR #9691:
URL: https://github.com/apache/iceberg/pull/9691#discussion_r1492708091


##########
core/src/main/java/org/apache/iceberg/avro/AvroIterable.java:
##########
@@ -150,7 +153,7 @@ public D next(D reuse) {
       try {
         return reader.next(reuse);
       } catch (IOException e) {
-        throw new RuntimeIOException(e, "Failed to read next record");
+        throw new RuntimeIOException(e, "Failed to read next record at file: 
%s", file);
       }

Review Comment:
   I think I may be talking myself out of this since all those other methods 
should be called because of the few you fixed already so we should be enriching 
them anyway ... I think :)



-- 
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]

Reply via email to