yihua commented on code in PR #14178:
URL: https://github.com/apache/hudi/pull/14178#discussion_r2476327485


##########
hudi-trino-plugin/src/main/java/io/trino/plugin/hudi/io/InlineSeekableDataInputStream.java:
##########
@@ -24,10 +24,12 @@ public class InlineSeekableDataInputStream
     private final long length;
 
     public InlineSeekableDataInputStream(TrinoInputStream stream, long 
startOffset, long length)
+            throws IOException
     {
         super(stream);
         this.startOffset = startOffset;
         this.length = length;
+        stream.seek(startOffset);

Review Comment:
   Could we add a unit test on this fix?



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

Reply via email to