Try:

ts.groupBy("b").count().orderBy(col("count").desc());

-Don

On Sat, Jul 30, 2016 at 1:30 PM, Tony Lane <tonylane....@gmail.com> wrote:

> just to clarify I am try to do this in java
>
> ts.groupBy("b").count().orderBy("count");
>
>
>
> On Sun, Jul 31, 2016 at 12:00 AM, Tony Lane <tonylane....@gmail.com>
> wrote:
>
>> ts.groupBy("b").count().orderBy("count");
>>
>> how can I order this data in descending order of count
>> Any suggestions
>>
>> -Tony
>>
>
>


-- 
Donald Drake
Drake Consulting
http://www.drakeconsulting.com/
https://twitter.com/dondrake <http://www.MailLaunder.com/>
800-733-2143

Reply via email to