build(cfg(), in, out, pipe);
}
@Test
public void testReadFromESWithFields() throws Exception {
Tap in = new EsTap("cascading-local/artists", query, new Fields("url", "name"));
Pipe pipe = new Pipe("copy");
pipe = new Each(pipe, AssertionLevel.STRICT, new AssertSizeEquals(2));
pipe = new Each(pipe, AssertionLevel.STRICT, new AssertNotNull());
pipe = new GroupBy(pipe);
pipe = new Every(pipe, new Count());