Description
The following code in UnsafeRow has an incorrect offset calculation:
public void writeToStream(OutputStream out, byte[] writeBuffer) throws IOException { if (baseObject instanceof byte[]) { int offsetInByteArray = (int) (Platform.BYTE_ARRAY_OFFSET - baseOffset);
which should be:
int offsetInByteArray = (int) (baseOffset - Platform.BYTE_ARRAY_OFFSET);