Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Removing unwanted items in tuple

Copy link to this message
Removing unwanted items in tuple
James Newhaven 2012-05-09, 17:43
I have a bag of tuples like this:

{ (product, unwanted, count), (product, unwanted, count) }

Is it possible in Pig to generate a new bag with a revised tuple structure
with one of its columns removed?

The desired structure I want is:

{ (product, count), (product, count) }