This one explains it nicely
http://www.dofactory.com/topic/1816/spark-performing-a-join-and-getting-results-back-in-a-strongly-typed-collection.aspx

Thanks
Best Regards

On Tue, Sep 30, 2014 at 12:57 AM, Yin Huai <huaiyin....@gmail.com> wrote:

> What version of Spark did you use? Can you try the master branch?
>
> On Mon, Sep 29, 2014 at 1:52 PM, vdiwakar.malladi <
> vdiwakar.mall...@gmail.com> wrote:
>
>> Thanks for your prompt response.
>>
>> Still on further note, I'm getting the exception while executing the
>> query.
>>
>> "SELECT data[0].name FROM people where data[0].age >=13"
>>
>> *Exception in thread "main" java.lang.RuntimeException: [1.46] failure:
>> ``UNION'' expected but identifier .age found
>>
>> SELECT data[0].name FROM people where data[0].age >=13*
>>
>>
>> Am I missing something? I'm trying to understand how the RDD is stored.
>>
>> Thanks in advance.
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-spark-user-list.1001560.n3.nabble.com/Unresolved-attributes-SparkSQL-on-the-schemaRDD-tp15339p15350.html
>> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
>> For additional commands, e-mail: user-h...@spark.apache.org
>>
>>
>

Reply via email to