public static byte[] updateSerializedSchema(byte[] row) { byte version = row[0]; if (isMostRecentVersion(version)) { return row; } // Bring the row up to most recent version return Row.deserialize(row).serialize(); }
public static byte[] updateSerializedSchema(byte[] row) { byte version = row[0]; if (isMostRecentVersion(version)) { return row; } // Bring the row up to most recent version return Row.deserialize(row).serialize(); }