ReaderWriterProfiler.setProfilerOptions(conf);
Reader reader = OrcFile.createReader(fs, testFilePath, conf);
assertEquals(COUNT, reader.getNumberOfRows());
RecordReader rows = reader.rows(null);
OrcLazyStruct lazyRow = null;
OrcStruct row = null;
for(int i = 0; i < COUNT / n; i++) {
rows.seekToRow(i * n);
lazyRow = (OrcLazyStruct) rows.next(lazyRow);
row = (OrcStruct) lazyRow.materialize();
if (withoutNextIsNull) {
compareRowsWithoutNextIsNull(row, inputs, i * n, numNulls, true);
} else {
compareRows(row, inputs, i * n, numNulls, true);
}