apache/spark — pull request #719 by jegonzal (2014-05-09 23:35:08+00:00)
Title: Enable repartitioning of graph over different number of partitions

It is currently very difficult to repartition a graph over a different number of partitions. This PR adds an additional `partitionBy` function that takes the number of partitions.