I am new to Pig and still exploring efficient ways to do simple things. For example, I have a bag of events
{"events":[{"event": ev1}, {"event": ev2}, {"event":ev3}, ....]}
And I want to collapse that as just a tuple, something like
{"events":[ev1, ev2, ev3, ....]}
Is there a way to achieve this in Pig? I have veen struggling through this for a while, but without much success :(.
Thanks in advance