RE: implicits is not a member of org.apache.spark.sql.SQLContext

2015-04-22 Thread Wang, Ningjun (LNG-NPV)
Ningjun From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Tuesday, April 21, 2015 11:05 AM To: Wang, Ningjun (LNG-NPV) Cc: user@spark.apache.org Subject: Re: implicits is not a member of org.apache.spark.sql.SQLContext Have you tried the following ? import sqlContext._ import sqlContext.implicits

Re: implicits is not a member of org.apache.spark.sql.SQLContext

2015-04-21 Thread Ted Yu
Have you tried the following ? import sqlContext._ import sqlContext.implicits._ Cheers On Tue, Apr 21, 2015 at 7:54 AM, Wang, Ningjun (LNG-NPV) < ningjun.w...@lexisnexis.com> wrote: > I tried to convert an RDD to a data frame using the example codes on > spark website > > > > > > case clas