Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Issue with Extracting Fields from text to csv file

$
0
0
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.

Viewing all articles
Browse latest Browse all 5648

Trending Articles