crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Wills <jwi...@cloudera.com>
Subject Re: SecondarySort Order
Date Wed, 27 Aug 2014 22:36:28 GMT
Oh, then just negate it.


On Wed, Aug 27, 2014 at 3:34 PM, Danny Morgan <unluckyboy@hotmail.com>
wrote:

> No just numbers, the key is seconds since the epoch.
>
> ------------------------------
> From: jwills@cloudera.com
> Date: Wed, 27 Aug 2014 15:27:00 -0700
> Subject: Re: SecondarySort Order
> To: user@crunch.apache.org
>
>
> 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 <unluckyboy@hotmail.com>
> 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 <http://www.cloudera.com>
> Twitter: @josh_wills <http://twitter.com/josh_wills>
>



-- 
Director of Data Science
Cloudera <http://www.cloudera.com>
Twitter: @josh_wills <http://twitter.com/josh_wills>

Mime
View raw message