Allow cached reads on the non-offset version of readFully
Missing override caused reads the don't use the full overloaded version of the method to not be cached such as Parquet metadata reads.
@@ -45,6 +45,13 @@ public final class FileMergeCachingInputStream
this.cacheValidationEnabled = cacheValidationEnabled;
}
+ @Override
+ public void readFully(long position, byte[] buffer)
+ throws IOException
+ {
+ readFully(position, buffer, 0, buffer.length);
+ }
+
@Override
public void readFully(long position, byte[] buffer, int offset, int length)
throws IOException
