My dataset looks like the following:
( A, (1,2) )
( B, (2,9) )
I would like to "flatten" the tuples in Pig, basically repeating each record for each value found in the inner-tuple, such that the expected output is:
( A, 1 )
( A, 2 )
( B, 2 )
( B, 9 )
I know this is possible when the tuples (1,2) and (2,9) are bags instead.