Skip to content

Commit

Permalink
Fix buffer unpacking offset in VectorizedRleValuesReader.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdblue committed May 8, 2018
1 parent 6c9d47b commit 95ecde0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,7 @@ private void readNextGroup() {
while (valueIndex < this.currentCount) {
// values are bit packed 8 at a time, so reading bitWidth will always work
ByteBuffer buffer = in.slice(bitWidth);
this.packer.unpack8Values(
buffer, buffer.arrayOffset() + buffer.position(), this.currentBuffer, valueIndex);
this.packer.unpack8Values(buffer, buffer.position(), this.currentBuffer, valueIndex);
valueIndex += 8;
}
return;
Expand Down

0 comments on commit 95ecde0

Please sign in to comment.