public void testAvro() throws Exception {
Pipeline pipeline = new MRPipeline(AggregateIT.class, tmpDir.getDefaultConfiguration());
String shakesInputPath = tmpDir.copyResourceFileName("shakes.txt");
PCollection<String> shakes = pipeline.readTextFile(shakesInputPath);
runMinMax(shakes, AvroTypeFamily.getInstance());
pipeline.done();
}
@Test
public void testInMemoryAvro() throws Exception {
PCollection<String> someText = MemPipeline.collectionOf("first line", "second line", "third line");