-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
TypedBytesTableOutputFormat uses TypedBytesWritable.getBytes() for retrieving the row key. However this method returns the whole byte array, for which the data is only valid between 0 and getLength() - 1 and not for the whole length of the returned byte array. Furthermore it returns also the bytes added by the typedbytes protocol.
This causes TypedBytesTableOutputFormat to store the bytes \x03\x00\x00\x00\x01\x00\x00 for a yielded key int(1).
However, I would expect \x01 to be used as row key in this case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels