Re: Spark sql generated dynamically

2016-12-02 Thread Georg Heiler
Are you sure? I think this is a column wise and not a row wise operation. ayan guha schrieb am Fr. 2. Dez. 2016 um 15:17: > You are looking for window functions. > On 2 Dec 2016 22:33, "Georg Heiler" wrote: > > Hi, > > how can I perform a group

Re: Spark sql generated dynamically

2016-12-02 Thread ayan guha
You are looking for window functions. On 2 Dec 2016 22:33, "Georg Heiler" wrote: > Hi, > > how can I perform a group wise operation in spark more elegant? Possibly > dynamically generate SQL? Or would you suggest a custom UADF? >

Spark sql generated dynamically

2016-12-02 Thread Georg Heiler
Hi, how can I perform a group wise operation in spark more elegant? Possibly dynamically generate SQL? Or would you suggest a custom UADF? http://stackoverflow.com/q/40930003/2587904 Kind regards, Georg