Combining Multiple Maps together in Pig
问题 I am using pig for the first time. I've gotten to the point where I have exactly the answer I want, but in a weirdly nested format: {(price,49),(manages,"1d74426f-2b0a-4777-ac1b-042268cab09c")} I'd like the output to be a single map, without any wrapping: [price#49, manages#"1d74426f-2b0a-4777-ac1b-042268cab09c"] I've managed to use TOMAP to get this far, but I can't figure out how to merge and flatten it away. {([price_specification#{"amount":49,"currency":"USD"}]),([manages#"newest-nodes