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

Switch to Plain View
Pig >> mail # user >> Transpose values of a column

Copy link to this message
Transpose values of a column

I have data in a file as follows . There are 3 columns separated by
semicolon(;). Each column would have multiple values separated by comma


I need output data in below format. It is like transposing  values of each

11 144 y
22 244 n
33 344 y

Can we write map reduce program to achieve this. Could you help on the code
on how to write.
Mix Nin 2013-03-05, 15:17