}
@SuppressWarnings("unchecked")
private RecordReader<E, Void> createUnfilteredRecordReader(InputSplit inputSplit,
TaskAttemptContext taskAttemptContext) throws IOException, InterruptedException {
Format format = dataset.getDescriptor().getFormat();
if (Formats.AVRO.equals(format)) {
AvroKeyInputFormat<E> delegate = new AvroKeyInputFormat<E>();
return new KeyReaderWrapper(
delegate.createRecordReader(inputSplit, taskAttemptContext));
} else if (Formats.PARQUET.equals(format)) {