-Subtracting contents of two bags
James Newhaven 2013-01-22, 12:46
I have two relations - A and B. Both just contain user ids.
I want to get a list of users who are in A but not in B.
I am running Pig 0.9.1 and think this might be possible with the DIFF
function. I can see that DIFF requires one relation that contains the two
How can I create a relation that contains two bags so it can be supplied to
the DIFF function?
Any suggestions would be appreciated.
Bill Graham 2013-01-22, 15:53
Timothy Potter 2013-01-22, 16:36