String query = "select s.name, count(s.name) as tally from sample s group by
s.name order by tally";
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/group-by-order-by-fails-tp21815p21854.html
Sent from the Apache Spark User List mailing list archive at Nabb
Thanks Michael! It worked. Some how my mails are not getting accepted by spark
user mailing list. :(
From: mich...@databricks.com
Date: Thu, 26 Feb 2015 17:49:43 -0800
Subject: Re: group by order by fails
To: tridib.sama...@live.com
CC: ak...@sigmoidanalytics.com; user@spark.apache.org
Assign
b 2015 12:37:06 +0530
> Subject: Re: group by order by fails
> From: ak...@sigmoidanalytics.com
> To: tridib.sama...@live.com
> CC: user@spark.apache.org
>
>
> Which version of spark are you having? It seems there was a similar Jira
> https://issues.apache.org/jira/browse/SPARK-2
Actually I just realized , I am using 1.2.0.
Thanks
Tridib
Date: Thu, 26 Feb 2015 12:37:06 +0530
Subject: Re: group by order by fails
From: ak...@sigmoidanalytics.com
To: tridib.sama...@live.com
CC: user@spark.apache.org
Which version of spark are you having? It seems there was a similar Jira
Which version of spark are you having? It seems there was a similar Jira
https://issues.apache.org/jira/browse/SPARK-2474
Thanks
Best Regards
On Thu, Feb 26, 2015 at 12:03 PM, tridib wrote:
> Hi,
> I need to find top 10 most selling samples. So query looks like:
> select s.name, count(s.name)