diff --git a/presto-orc/src/main/java/com/facebook/presto/orc/OrcSelectiveRecordReader.java b/presto-orc/src/main/java/com/facebook/presto/orc/OrcSelectiveRecordReader.java index e33e48501fce..61686dc9cedf 100644 --- a/presto-orc/src/main/java/com/facebook/presto/orc/OrcSelectiveRecordReader.java +++ b/presto-orc/src/main/java/com/facebook/presto/orc/OrcSelectiveRecordReader.java @@ -147,7 +147,7 @@ public class OrcSelectiveRecordReader @Nullable private RuntimeException constantFilterError; - private int readPositions; + private long readPositions; // true if row number needs to be added, false otherwise private final boolean appendRowNumber; @@ -621,7 +621,7 @@ private static SelectiveStreamReader[] createStreamReaders( return streamReaders; } - public int getReadPositions() + public long getReadPositions() { return readPositions; }