public void testArithmetic() throws VisitorException, IOException, ExecException {
String query = "foreach (load 'A') generate $0 + $1 + '5', $0 - '5' - $1, 'hello';";
LogicalPlan lp = buildPlan(query);
PhysicalPlan pp = buildPhysicalPlan(lp);
//Ensure that there is only 1 leaf node
assertEquals(1, pp.getLeaves().size());
int MAX_SIZE = 100000;
ByteArrayOutputStream baos = new ByteArrayOutputStream();
pp.explain(baos);
baos.write((int)'\n');
String compiledPlan = baos.toString();
compiledPlan = compiledPlan.replaceAll("Load(.*)","Load()");
if(generate){