RecordReader rows = reader.rows(null);
assertEquals(0, rows.getRowNumber());
assertEquals(0.0, rows.getProgress(), 0.000001);
assertEquals(true, rows.hasNext());
OrcLazyStruct lazyRow = (OrcLazyStruct) rows.next(null);
row = (OrcStruct) lazyRow.materialize();
inspector = reader.getObjectInspector();
assertEquals("struct<time:timestamp,union:uniontype<int,string>>",
inspector.getTypeName());
assertEquals(Timestamp.valueOf("2000-03-12 15:00:00"),
((TimestampWritable) ((OrcLazyTimestamp) row.getFieldValue(0)).materialize()).getTimestamp());