withPartitioner() vs calling partitionCustom() beforehand
I have a question regarding partitioning.
Does calling the withPartitioner() method on a coGroup operation has the same effect as performing partitionCustom on both datasets beforehand?
1. DataSet a = aa.partitionCustom(…)
2. DataSet b = bb.partitionCustom(…)
Do both snippets perform the same low-level physical partitioning?