Can you provide the code?  Is Record a case class? and is it defined as a
top level object?  Also have you done "import sqlContext._"?


On Sat, Jul 19, 2014 at 3:39 AM, junius <junius.z...@gmail.com> wrote:

> Hello,
> I write code to practice Spark Sql based on latest Spark version.
> But I get compilation error as following, seems the implicit conversion
> from RDD to SchemaRDD doesn't
> work. If anybody can help me to fix it. Thanks a lot.
>
> value registerAsTable is not a member of
> org.apache.spark.rdd.RDD[org.apache.spark.examples.mySparkExamples.Record]
>
> Junius Zhou
> b.r
>

Reply via email to