Should Spark SQL support retrieve column value from Row by column name?

2015-03-22 Thread amghost
if I could do something like this: results.map(t = Name: + *t(name)*).collect().foreach(println) How do you like? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Should-Spark-SQL-support-retrieve-column-value-from-Row-by-column-name-tp22174.html Sent from

Re: Should Spark SQL support retrieve column value from Row by column name?

2015-03-22 Thread Yanbo Liang
)*).collect().foreach(println) How do you like? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Should-Spark-SQL-support-retrieve-column-value-from-Row-by-column-name-tp22174.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Should Spark SQL support retrieve column value from Row by column name?

2015-03-22 Thread Michael Armbrust
something like this: results.map(t = Name: + *t(name)*).collect().foreach(println) How do you like? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Should-Spark-SQL-support-retrieve-column-value-from-Row-by-column-name-tp22174.html Sent from the Apache Spark