Re: Error in SparkSQL Example

2014-03-31 Thread Michael Armbrust
> Thanks for the clarification. My question is about the error above "error: > class $iwC needs to be abstract" > This is a fairly confusing scala REPL (interpreter) error. Under the covers, to run the line you entered into the interpreter, scala is creating an object called $iwC with your code i

Re: Error in SparkSQL Example

2014-03-31 Thread Manoj Samel
Hi Michael, Thanks for the clarification. My question is about the error above "error: class $iwC needs to be abstract" and what does the RDD brings, since I can do the DSL without the "people: people: org.apache.spark.rdd.RDD[Person]" Thanks, On Mon, Mar 31, 2014 at 9:13 AM, Michael Armbrust w

Re: Error in SparkSQL Example

2014-03-31 Thread Michael Armbrust
"val people: RDD[Person] // An RDD of case class objects, from the first example." is just a placeholder to avoid cluttering up each example with the same code for creating an RDD. The ": RDD[People]" is just there to let you know the expected type of the variable 'people'. Perhaps there is a cle

Error in SparkSQL Example

2014-03-30 Thread Manoj Samel
Hi, On http://people.apache.org/~pwendell/catalyst-docs/sql-programming-guide.html, I am trying to run code on "Writing Language-Integrated Relational Queries" ( I have 1.0.0 Snapshot ). I am running into error on val people: RDD[Person] // An RDD of case class objects, from the first example.