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

Switch to Plain View
Pig, mail # user - removing last item in a bag


Copy link to this message
-
removing last item in a bag
Chan, Tim 2013-03-12, 23:33
How do I remove the last item in a bag.

For example:

(group_1,{(2012-12-15,a),(2012-12-17,a),(2012-12-23,c)})
I would like to remove the last item so that the following is the result:
(group_1,{(2012-12-15,a),(2012-12-17,a)})
+
Johnny Zhang 2013-03-12, 23:50
+
Chan, Tim 2013-03-13, 00:28
+
Johnny Zhang 2013-03-13, 00:40
+
Ruslan Al-Fakikh 2013-03-13, 03:06
+
Ruslan Al-Fakikh 2013-03-13, 03:09
+
Tim Chan 2013-03-13, 20:58
+
Ruslan Al-Fakikh 2013-03-15, 19:46