Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Can i store the output from the parquet file as csv using PIG

avatar
Rising Star
 
1 ACCEPTED SOLUTION

avatar
Master Mentor
@Pradeep Allu

Load as parquet then

store as PigStorage(',') syntax will save as csv.

View solution in original post

5 REPLIES 5

avatar
Master Mentor

@Pradeep Allu You can combine these 2 to see if it works. If does then please do submit an article.

link1

link2

avatar
Master Mentor
@Pradeep Allu

Load as parquet then

store as PigStorage(',') syntax will save as csv.

avatar
Master Mentor

@Pradeep Allu for more robust usecases use csv storer Link.

avatar
Rising Star

Thanks Artem the PigStorage(',') worked

avatar
Master Mentor

@Pradeep Allu don't forget to accept the best answer 🙂