diff --git a/presto-hive/src/main/java/io/prestosql/plugin/hive/parquet/HdfsParquetDataSource.java b/presto-hive/src/main/java/io/prestosql/plugin/hive/parquet/HdfsParquetDataSource.java index c809787cdb8a..b052f6aa2d5c 100644 --- a/presto-hive/src/main/java/io/prestosql/plugin/hive/parquet/HdfsParquetDataSource.java +++ b/presto-hive/src/main/java/io/prestosql/plugin/hive/parquet/HdfsParquetDataSource.java @@ -103,8 +103,7 @@ public final void readFully(long position, byte[] buffer) readFully(position, buffer, 0, buffer.length); } - @Override - public final void readFully(long position, byte[] buffer, int bufferOffset, int bufferLength) + private void readFully(long position, byte[] buffer, int bufferOffset, int bufferLength) { readBytes += bufferLength; diff --git a/presto-parquet/src/main/java/io/prestosql/parquet/ParquetDataSource.java b/presto-parquet/src/main/java/io/prestosql/parquet/ParquetDataSource.java index 3fedf2300759..0d5cb5eff18f 100644 --- a/presto-parquet/src/main/java/io/prestosql/parquet/ParquetDataSource.java +++ b/presto-parquet/src/main/java/io/prestosql/parquet/ParquetDataSource.java @@ -30,8 +30,6 @@ public interface ParquetDataSource void readFully(long position, byte[] buffer); - void readFully(long position, byte[] buffer, int bufferOffset, int bufferLength); - Map planRead(Map diskRanges); @Override