Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marin-ma committed Aug 12, 2024
1 parent e6db382 commit 67835d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/velox/shuffle/VeloxSortShuffleWriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ void VeloxSortShuffleWriter::insertRows(
// size(RowSize) | bytes
memcpy(currentPage_ + pageCursor_, &rowSize_[row], sizeof(RowSizeType));
offsets[i] = pageCursor_ + sizeof(RowSizeType);
pageCursor_ += sizeof(RowSizeType) + rowSize_[row];
pageCursor_ += rowSize_[row];
VELOX_DCHECK_LE(pageCursor_, currenPageSize_);
}
compact.serialize(indexRange, offsets, currentPage_);
Expand Down

0 comments on commit 67835d7

Please sign in to comment.