Trying to get this done on Pig. (Looking for the group_concat() equivalent of MySQL)
In my table, for example, I have this: (3fields- userid, clickcount,pagenumber)
155 | 2 | 12
155 | 3 | 133
155 | 1 | 144
156 | 6 | 1
156 | 7 | 5
The desired output is:
155| 2,3,1 | 12,133,144
156| 6,7 | 1,5
How can I achieve this on PIG?