crunch-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danny Morgan <unlucky...@hotmail.com>
Subject RE: SecondarySort Order
Date Wed, 27 Aug 2014 22:34:06 GMT
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 ScienceClouderaTwitter: @josh_wills


 		 	   		  
Mime
View raw message