You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Hitesh Goyal <hi...@nlpcaptcha.com> on 2016/09/29 09:58:58 UTC

spark sql on json

Hi team,

I have a json document. I want to put spark SQL to it.
Can you please send me an example app built in JAVA so that I would be able to put spark sql queries on my data.

Regards,
Hitesh Goyal
Simpli5d Technologies
Cont No.: 9996588220


Re: spark sql on json

Posted by Hyukjin Kwon <gu...@gmail.com>.
https://github.com/apache/spark/blob/master/examples/src/main/java/org/apache/spark/examples/sql/JavaSparkSQLExample.java#L104-L181

2016-09-29 18:58 GMT+09:00 Hitesh Goyal <hi...@nlpcaptcha.com>:

> Hi team,
>
>
>
> I have a json document. I want to put spark SQL to it.
>
> Can you please send me an example app built in JAVA so that I would be
> able to put spark sql queries on my data.
>
>
>
> Regards,
>
> *Hitesh Goyal*
>
> Simpli5d Technologies
>
> Cont No.: 9996588220
>
>
>