Re: SchemaRDD.where clause error

2014-10-21 Thread Michael Armbrust
You need to "import sqlCtx._" to get access to the implicit conversion.

On Tue, Oct 21, 2014 at 2:40 PM, Kevin Paul 
wrote:

> Hi all, I tried to use the function SchemaRDD.where() but got some error:
>
>   val people = sqlCtx.sql("select * from people")
>   people.where('age === 10)
>
> :27: error: value === is not a member of Symbol
>
> where did I go wrong?
>
> Thanks,
> Kevin Paul
>


SchemaRDD.where clause error

2014-10-21 Thread Kevin Paul
Hi all, I tried to use the function SchemaRDD.where() but got some error:

  val people = sqlCtx.sql("select * from people")
  people.where('age === 10)

:27: error: value === is not a member of Symbol

where did I go wrong?

Thanks,
Kevin Paul