You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Bharat Bagai <ba...@hotmail.com> on 2014/04/07 13:07:53 UTC
Issue with extraction from text to csv
Hi
I have a 1000 text files in which each text file having 800
records and i want to move that records in 20 csv files. Files creation
should be handled by tool/language itself
File1.csv have record 2, record 3, record 10, record 11.........
File2.csv have record 4, record 7, record 19, record 11.........
File3.csv have record 5, record 6, record 20, record 11.........
Now,
i am trying to resolve this issue via PIG. But i am struck at first
point, how to create csv with the help of PIG. If any other tool can be
used to resolve above query, I am ready to switch to that tool also but
not JAVA.
Early help will be appreciated.