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
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
ring(0) + "=" +
> row.getLong(1));
> }
> } finally {
> sc.stop();
> }
>
> public class SampleVo implements Serializable {
> private String name;
>
> public SampleVo() {
>
}
--
Does this mean spark sql does not support order by over group by?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/group-by-order-by-fails-tp21815.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---