if (keyword.equals("join") || keyword.endsWith("cogroup")) {
pigServer.registerQuery("c = " + keyword + " a by $0, b by $0;");
} else if (keyword.equals("skewed")) {
pigServer.registerQuery("c = join a by $0, b by $0 using 'skewed';");
}
ExecJob job = pigServer.store("c", output + "_output");
PigStats stats = job.getStatistics();
assertTrue(stats.isSuccessful());
List<InputStats> inputs = stats.getInputStats();
if (keyword.equals("join") || keyword.endsWith("cogroup")) {
assertEquals(2, inputs.size());
} else if (keyword.equals("skewed")) {