Skip to content

Commit

Permalink
Change readPositions to long to avoid overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dongshengbc authored and highker committed Jul 1, 2022
1 parent 19397a1 commit 3d3bcd2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -621,7 +621,7 @@ private static SelectiveStreamReader[] createStreamReaders(
return streamReaders;
}

public int getReadPositions()
public long getReadPositions()
{
return readPositions;
}
Expand Down

0 comments on commit 3d3bcd2

Please sign in to comment.