|
You're assuming each partition has the
same line count. I don't think it's true (actually, I'm almost
certain it's false). And anyway your code also require two maps.
In my code, the sorting as well as the other operations are performed on a very small dataset : one element per partition Guillaume
--
|
- Re: How to map each line to (line number, line)? Aureliano Buendia
- Re: How to map each line to (line number, line)? Tom Vacek
- Re: How to map each line to (line number, line... Aureliano Buendia
- Re: How to map each line to (line number, line)? Guillaume Pitel
- Re: How to map each line to (line number, line)? Aureliano Buendia
- Re: How to map each line to (line number, line... Guillaume Pitel
- Re: How to map each line to (line number, ... Aureliano Buendia
- Re: How to map each line to (line numb... Guillaume Pitel
- Re: How to map each line to (line... Aureliano Buendia
- Re: How to map each line to (... Tom Vacek
- Re: How to map each line to (... Guillaume Pitel
- Re: How to map each line to (... Aureliano Buendia
- Re: How to map each line to (... Andrew Ash
- Re: How to map each line to (... Aureliano Buendia
- Re: How to map each line to (... Christopher Nguyen
- Re: How to map each line to (... K. Shankari
- Re: How to map each line to (... Aureliano Buendia
- Re: How to map each line to (... Guillaume Pitel
- Re: How to map each line to (line number, line)? Michael (Bach) Bui
- Re: How to map each line to (line number, line)? Aureliano Buendia
- Re: How to map each line to (line number, line... Aaron Davidson

