spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akhil Das <ak...@sigmoidanalytics.com>
Subject Re: Spark SQL on XML files
Date Mon, 20 Oct 2014 09:03:48 GMT
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 <gtinside@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-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message