I was grouping time series data by a key. I want the values to be sorted by timestamp after the grouping.
On Fri, Aug 22, 2014 at 7:26 PM, Matthew Farrellee <m...@redhat.com> wrote: > On 08/22/2014 04:32 PM, Arpan Ghosh wrote: > >> Is there any way to control the ordering of values for each key during a >> groupByKey() operation? Is there some sort of implicit ordering in place >> already? >> >> Thanks >> >> Arpan >> > > there's no implicit ordering in place. the same holds for the order of > keys, unless you use sortByKey. > > what are you trying to achieve? > > best, > > > matt >