expected == actual ? actualField : expectedFields.get(entry.getKey());
if (expectedField == null) {
skip(actualField.schema(), in);
continue;
}
int fieldPosition = expectedField.pos();
Object oldDatum =
(old != null) ? getField(record, fieldName, fieldPosition) : null;
addField(record, fieldName, fieldPosition,
read(oldDatum,actualField.schema(),expectedField.schema(), in));
size++;