Are you sure? I think this is a column wise and not a row wise operation. ayan guha <guha.a...@gmail.com> schrieb am Fr. 2. Dez. 2016 um 15:17:
> You are looking for window functions. > On 2 Dec 2016 22:33, "Georg Heiler" <georg.kf.hei...@gmail.com> 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? > http://stackoverflow.com/q/40930003/2587904 > > Kind regards, > Georg > >