FileDataSink sink = new FileDataSink(new DummyOutputFormat(), OUT_FILE, globalRed);
// return the plan
Plan plan = new Plan(sink, "Union Property Propagation");
OptimizedPlan oPlan = compileNoStats(plan);
NepheleJobGraphGenerator jobGen = new NepheleJobGraphGenerator();
// Compile plan to verify that no error is thrown
jobGen.compileJobGraph(oPlan);
oPlan.accept(new Visitor<PlanNode>() {
@Override
public boolean preVisit(PlanNode visitable) {
if (visitable instanceof SingleInputPlanNode && visitable.getPactContract() instanceof ReduceOperator) {
for (Channel inConn : visitable.getInputs()) {