Currently the coders used for integer types in RowCoder (and thus
SchemaCoder) are inconsistent. For int32 and int64, we use VarIntCoder and
VarLongCoder which encode those types with variable width, but for byte and
int16 we use ByteCoder and BigEndianShortCoder, which are fixed width.

Is it a conscious choice to use variable width coders just for the larger
width integers (where they could have the most benefit), or should we
consider normalizing these coders to always be fixed width?

Reply via email to