Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> Converting xml to csv


+
jamal sasha 2013-09-12, 00:14
+
inelu nagamallikarjuna 2013-09-12, 02:38
+
jamal sasha 2013-09-12, 05:10
Copy link to this message
-
Re: Converting xml to csv
Use piggybank xmlloader
 On 12/09/2013 10:14 AM, "jamal sasha" <[EMAIL PROTECTED]> wrote:

> Hi,
>   So I have different xml data sources...For example:
>
> src1.txt
>
> <foo>
> <bar>1</bar>
> </foo>
> <foo>
> <bar>2</bar>
> </foo>
> .. and so on
>
>
> and another data
>
> src2.txt
>
> <aux>
> <foobar>1</foobar>
> <fushbar>foo</fushbar>
> </aux>
>
> ... and so on
>
>
> So basicaly different xml (valid formats)
>
> Rather than writing different pig scripts.. is there a way to write 1
> script and then convert all these xml data into csv?
> Thanks
>
+
jamal sasha 2013-09-12, 05:47
+
ajay kumar 2013-09-12, 06:35
+
jamal sasha 2013-09-12, 22:24
+
ajay kumar 2013-09-13, 06:21
+
william.dowling@... 2013-09-13, 13:32
+
ajay kumar 2013-09-16, 05:10
+
william.dowling@... 2013-09-16, 13:51
+
ajay kumar 2013-09-17, 06:15
+
william.dowling@... 2013-09-17, 15:19