SchemaRDD Convert

2014-10-22 Thread Dai, Kevin
Hi, ALL I have a RDD of case class T and T contains several primitive types and a Map. How can I convert this to a SchemaRDD? Best Regards, Kevin.

RE: SchemaRDD Convert

2014-10-22 Thread Cheng, Hao
/apache/spark/sql/catalyst/ScalaReflection.scala#L35 Just be sure you import the right implicit conversion function. From: Dai, Kevin [mailto:yun...@ebay.com] Sent: Wednesday, October 22, 2014 4:17 PM To: user@spark.apache.org Subject: SchemaRDD Convert Hi, ALL I have a RDD of case class T and T

Re: SchemaRDD Convert

2014-10-22 Thread Yin Huai
@spark.apache.org *Subject:* SchemaRDD Convert Hi, ALL I have a RDD of case class T and T contains several primitive types and a Map. How can I convert this to a SchemaRDD? Best Regards, Kevin.