LOInnerLoad l2 = new LOInnerLoad(innerPlan, foreach, 1);
innerPlan.add(l2);
List<LogicalExpressionPlan> eps = new ArrayList<LogicalExpressionPlan>();
LOGenerate gen = new LOGenerate(innerPlan, eps, new boolean[] {false, true});
LogicalExpressionPlan p1 = new LogicalExpressionPlan();
p1.add(new ProjectExpression(p1, 0, -1, gen));
LogicalExpressionPlan p2 = new LogicalExpressionPlan();
p2.add(new ProjectExpression(p2, 1, -1, gen));
eps.add(p1);
eps.add(p2);
innerPlan.add(gen);