PigServer pigServer = new PigServer(pigContext);
data = resetData(pigServer);
data.set("foo", tuple("a", 1, "b"), tuple("b", 2, "c"), tuple("c", 3, "d"));
GruntParser grunt = new GruntParser(in, pigServer);
grunt.setInteractive(false);
grunt.parseStopOnError(true); //not batch
}
assertEquals(numTimesInitiated, MockTrackingStorage.numTimesInitiated);
assertEquals(numTimesSchemaCalled, MockTrackingStorage.numTimesSchemaCalled);
List<Tuple> out = data.get("bar");