Skip to content

Commit

Permalink
use OutputStreamSliceOutput::longSize to get the data page offset
Browse files Browse the repository at this point in the history
  • Loading branch information
sauliusvl authored and martint committed Jan 24, 2022
1 parent d1f37c2 commit 828f4da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private void flush()
List<BufferData> bufferDataList = builder.build();

// update stats
long stripeStartOffset = outputStream.size();
long stripeStartOffset = outputStream.longSize();
List<ColumnMetaData> metadatas = bufferDataList.stream()
.map(BufferData::getMetaData)
.collect(toImmutableList());
Expand Down

0 comments on commit 828f4da

Please sign in to comment.