spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matei Zaharia <matei.zaha...@gmail.com>
Subject Re: Querying JSON in Spark SQL
Date Mon, 16 Mar 2015 21:23:32 GMT
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.ozc@gmail.com> wrote:
> 
> Is there any documentation that explains how to query JSON documents using SparkSQL?

> 
> Thanks,
> Fatma


Mime
View raw message