Negating the longs worked just perfectly.
> Date: Wed, 27 Aug 2014 15:56:20 -0700 > Subject: Re: SecondarySort Order > From: [email protected] > To: [email protected] > > Why don't you write a customer comparator and specify it in the config? > > -- Joe > > On Wed, Aug 27, 2014 at 3:36 PM, Josh Wills <[email protected]> wrote: > > Oh, then just negate it. > > > > > > On Wed, Aug 27, 2014 at 3:34 PM, Danny Morgan <[email protected]> > > wrote: > >> > >> No just numbers, the key is seconds since the epoch. > >> > >> ________________________________ > >> From: [email protected] > >> Date: Wed, 27 Aug 2014 15:27:00 -0700 > >> Subject: Re: SecondarySort Order > >> To: [email protected] > >> > >> > >> Not without reversing the key in some sense-- easy to do with numbers, > >> harder to do with strings. I assume your case is the latter? > >> > >> > >> On Wed, Aug 27, 2014 at 1:26 PM, Danny Morgan <[email protected]> > >> wrote: > >> > >> Any way to perform a secondary sort in descending order of K2 as below? > >> > >> PTable<K, Pair<K2, V>> > >> > >> Thanks, > >> > >> Danny > >> > >> > >> > >> > >> -- > >> Director of Data Science > >> Cloudera > >> Twitter: @josh_wills > > > > > > > > > > -- > > Director of Data Science > > Cloudera > > Twitter: @josh_wills
