Preconditions.checkArgument(children.size() == 1);
List<RecordBatch> ordered_children = Lists.newArrayList();
ordered_children.add(new OrderedPartitionRecordBatch(config, children.iterator().next(), context));
HashPartitionSender hpc = new HashPartitionSender(config.getOppositeMajorFragmentId(), config, config.getRef(), config.getDestinations());
return new PartitionSenderRootExec(context, ordered_children.iterator().next(), hpc);
}