Hi,
Doh, just rebuilding Spark so...writing off the top of my head.
val cols = Seq("hello", "world")
val columns = cols.map(Column.col)
See
http://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.Column
Pozdrawiam,
Jacek Laskowski
----
https://medium.com/@jaceklaskowski/
Mastering Apache Spark http://bit.ly/mastering-apache-spark
Follow me at https://twitter.com/jaceklaskowski
On Fri, Jul 22, 2016 at 1:45 PM, Divya Gehlot <[email protected]> wrote:
> Hi,
> Can somebody help me by creating the dataframe column from the scala list .
> Would really appreciate the help .
>
> Thanks ,
> Divya
---------------------------------------------------------------------
To unsubscribe e-mail: [email protected]