The programming guide has a short example: 
http://spark.apache.org/docs/latest/sql-programming-guide.html#json-datasets 
<http://spark.apache.org/docs/latest/sql-programming-guide.html#json-datasets>. 
Note that once you infer a schema for a JSON dataset, you can also use nested 
path notation (e.g. select user.name from users) in the same way as in Hive.

Matei

> On Mar 16, 2015, at 4:47 PM, Fatma Ozcan <fatma....@gmail.com> wrote:
> 
> Is there any documentation that explains how to query JSON documents using 
> SparkSQL? 
> 
> Thanks,
> Fatma

Reply via email to