.field(IntValue.class, 1);
Ordering ordering = new Ordering(0, StringValue.class, Order.DESCENDING);
out.setGlobalOrder(ordering, new SimpleDistribution(new StringValue[] {new StringValue("N")}));
Plan p = new Plan(out, "WordCount Example");
p.setDefaultParallelism(DEFAULT_PARALLELISM);
OptimizedPlan plan;
if (estimates) {
setSourceStatistics(sourceNode, 1024*1024*1024*1024L, 24f);
plan = compileWithStats(p);