Re: Create dataframe column from list

2016-07-22 Thread Inam Ur Rehman
Hello guys..i know its irrelevant to this topic but i've been looking desperately for the solution. I am facing en exception http://apache-spark-user-list.1001560.n3.nabble.com/how-to-resolve-you-must-build-spark-with-hive-exception-td27390.html plz help me.. I couldn't find any solution.. On

Re: Create dataframe column from list

2016-07-22 Thread Ashutosh Kumar
http://stackoverflow.com/questions/36382052/converting-list-to-column-in-spark On Fri, Jul 22, 2016 at 5:15 PM, Divya Gehlot wrote: > Hi, > Can somebody help me by creating the dataframe column from the scala list . > Would really appreciate the help . > > Thanks , >

Re: Create dataframe column from list

2016-07-22 Thread Jacek Laskowski
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/

Create dataframe column from list

2016-07-22 Thread Divya Gehlot
Hi, Can somebody help me by creating the dataframe column from the scala list . Would really appreciate the help . Thanks , Divya