You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Chris Schneider <ch...@christopher-schneider.com> on 2014/02/14 23:58:06 UTC
Combining multiple maps into a single one?
I am using Pig for the first time, and have found myself dealing with data
that is a bag containing single element maps.
{ [a#1], [b#2], [c#3] }
I'd like to join all the maps, and flatten away the bag, but I can't seem
to figure out how.
The desired output would be:
[a#1, b#2, c#3]
How can I go about that transformation?