Thank you Iulian ! That's precisely what I discovered today.
Best,
Marius
On Wed, Apr 22, 2015 at 3:31 PM Iulian DragoČ™
wrote:
> On Tue, Apr 21, 2015 at 2:38 PM, Marius Danciu
> wrote:
>
>> Hello anyone,
>>
>> I have a question regarding the sort shuffle. Roughly I'm doing something
>> like:
On Tue, Apr 21, 2015 at 2:38 PM, Marius Danciu
wrote:
> Hello anyone,
>
> I have a question regarding the sort shuffle. Roughly I'm doing something
> like:
>
> rdd.mapPartitionsToPair(f1).groupByKey().mapPartitionsToPair(f2)
>
> The problem is that in f2 I don't see the keys being sorted. The key
Anyone ?
On Tue, Apr 21, 2015 at 3:38 PM Marius Danciu
wrote:
> Hello anyone,
>
> I have a question regarding the sort shuffle. Roughly I'm doing something
> like:
>
> rdd.mapPartitionsToPair(f1).groupByKey().mapPartitionsToPair(f2)
>
> The problem is that in f2 I don't see the keys being sorte
Hello anyone,
I have a question regarding the sort shuffle. Roughly I'm doing something
like:
rdd.mapPartitionsToPair(f1).groupByKey().mapPartitionsToPair(f2)
The problem is that in f2 I don't see the keys being sorted. The keys are
Java Comparable not scala.math.Ordered or scala.math.Ordering