ontext Hive Server
> should be running ?
>
> Regards,
> Sourav
>
>
> -- Forwarded message --
> From: <ross.cramb...@thomsonreuters.com>
> Date: Fri, Dec 11, 2015 at 11:39 AM
> Subject: Re: Window function in Spark SQL
> To: sourav.mazumde.
Hey Sourav,
Window functions require using a HiveContext rather than the default
SQLContext. See here:
http://spark.apache.org/docs/latest/sql-programming-guide.html#starting-point-sqlcontext
HiveContext provides all the same functionality of SQLContext, as well as extra
features like Window
Window functions are not supported yet, but there is a PR for it:
https://github.com/apache/spark/pull/2953
On 12/5/14 12:22 PM, Dai, Kevin wrote:
Hi, ALL
How can I group by one column and order by another one, then select
the first row for each group (which is just like window function