Say I have a tuple containing the following elements (Apples, Apples, Oranges, Carrots, Carrots)
Is it possible in pig to find the counts of the tuple, for example the output I would like is: (Apples, 2) (Oranges, 1) (Carrots, 2) Thanks, James
Say I have a tuple containing the following elements (Apples, Apples, Oranges, Carrots, Carrots)
Is it possible in pig to find the counts of the tuple, for example the output I would like is: (Apples, 2) (Oranges, 1) (Carrots, 2) Thanks, James