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