/* Connect aggregate: */
sumAmountAggregate.setInput(partListJoin);
/* Connect sink: */
FileDataSink result = new FileDataSink(new StringIntPairStringDataOutFormat(), this.outputPath, "Results sink");
result.setInput(sumAmountAggregate);
Plan p = new Plan(result, "TPC-H query 9");
p.setDefaultParallelism(this.degreeOfParallelism);
return p;