BagSplit Question

18 views
Skip to first unread message

James Newhaven

unread,
Apr 11, 2012, 12:15:13 PM4/11/12
to DataFu
I've used BagSplit which generates a relation with the following
schema:

{datafu.pig.bags.bagsplit_J_1979: {(data: {(A::group:
chararray,A::tagcount: long)})}}

I'm pretty new to Pig, what I want to do now, is access each bag
generated from the split and run the AVG function on the tuples inside
the bag.

Is someone able to tell me the correct pig syntax do this?

Thanks,
James
Reply all
Reply to author
Forward
0 new messages