ajantha-bhat commented on code in PR #7286:
URL: https://github.com/apache/iceberg/pull/7286#discussion_r1161399521


##########
core/src/main/java/org/apache/iceberg/inmemory/InMemoryInputFile.java:
##########
@@ -75,7 +75,7 @@ private static class InMemorySeekableInputStream extends 
SeekableInputStream {
     @Override
     public long getPos() throws IOException {
       checkOpen();
-      return length - delegate.available();
+      return (long) length - delegate.available();

Review Comment:
   done.



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