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

2015-04-21 Thread Ted Yu
IDEA 14.0.3, it fail to compile and generate the following error Error:(289, 23) value *implicits is not a member of org.apache.spark.sql.SQLContext* import sqlContext.implicits._ ^ What is the problem here? Is there any work around (e.g. do explicit conversion

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

2015-04-21 Thread Wang, Ningjun (LNG-NPV)
(,)).map(p = Person(p(0), p(1).trim.toInt)).toDF() It compile fine using sbt. But in IntelliJ IDEA 14.0.3, it fail to compile and generate the following error Error:(289, 23) value implicits is not a member of org.apache.spark.sql.SQLContext import sqlContext.implicits