current.setHashOutputPartitioning(partitionedBy);
current = createFixedDistributionPlan(source)
.addChild(current.build());
}
current.setRoot(new TopNRowNumberNode(node.getId(), current.getRoot(), node.getPartitionBy(), node.getOrderBy(), node.getOrderings(), node.getRowNumberSymbol(), node.getMaxRowCountPerPartition()));
return current;
}