One approach would be to convert those XML file into json file and use the
jsonRDD, another approach would be to convert the XML file into parquet
file and use parquetFile.

Thanks
Best Regards

On Sun, Oct 19, 2014 at 9:38 AM, gtinside <gtins...@gmail.com> wrote:

> Hi ,
>
> I have bunch of Xml files and I want to run spark SQL on it, is there a
> recommended approach ? I am thinking of either converting Xml in json and
> then jsonRDD
>
> Please let me know your thoughts
>
> Regards,
> Gaurav
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Spark-SQL-on-XML-files-tp16752.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