Re: Missing stack function from SQL functions API

2021-06-15 Thread Khalid Mammadov
Hi David If you need alternative way to do it you can use below: df.select(expr("stack(2, 1,2,3)")) Or df.withColumn('stacked', expr("stack(2, 1,2,3)")) Thanks Khalid On Mon, 14 Jun 2021, 10:14 , wrote: > I noticed that the stack SQL function >

Missing stack function from SQL functions API

2021-06-14 Thread david . szakallas
I noticed that the stack SQL function is missing from the functions API. Could we add it?