assertEquals(Lists.newArrayList(expected), result);
OrcFileTarget target = new OrcFileTarget(outputPath);
pipeline.write(rows, target);
assertTrue(pipeline.done().succeeded());
OrcFileReaderFactory<T> reader = new OrcFileReaderFactory<T>(ptype);
List<T> newResult = Lists.newArrayList(reader.read(fs, inputPath));
assertEquals(Lists.newArrayList(expected), newResult);