Hi,
I have the following code snippet. It works fine on spark-shell but in a
standalone app it reports No TypeTag available for MySchema” at compile time
when calling hc.createScheamaRdd(rdd). Anybody knows what might be missing?
Thanks,
Du
--
Import org.apache.spark.sql.hive.HiveContext
@spark.apache.orgmailto:user@spark.apache.org
user@spark.apache.orgmailto:user@spark.apache.org
Subject: SparkSQL HiveContext TypeTag compile error
Hi,
I have the following code snippet. It works fine on spark-shell but in a
standalone app it reports No TypeTag available for MySchema” at compile
, 2014 at 12:33 PM
To: user@spark.apache.orgmailto:user@spark.apache.org
user@spark.apache.orgmailto:user@spark.apache.org
Subject: Re: SparkSQL HiveContext TypeTag compile error
Solved it.
The problem occurred because the case class was defined within a test case in
FunSuite. Moving the case class