This test should be inside getConverter() instead.
You can return a different implementation of addBinary() depending on the type.
https://github.com/davidzchen/parquet-mr/blob/a2895bfe6ea0f3289739d63d3715b775108a607c/parquet-avro/src/main/java/parquet/avro/AvroIndexedRecordConverter.java#L109

otherwise this logic is executed for every value.