-add a key value pair in map
Jerry Lam 2013-11-15, 23:19
Hi Pig users,
Do you know how to add a key value pair into a map?
For instance, a relation of A contains a document:map for each tuple;
B = foreach A generate document, ['newkey'#'newvalue'];
I want to add the 'newkey' and 'newvalue' inside the document map. Is it