You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Mohit Anchlia <mo...@gmail.com> on 2012/09/08 23:21:04 UTC

Splitting tuples in a Bag

In following example is it possible to split the 2 tuples and write it into
separate files? There is only one "," separated chararray field in a tuple.

({(1,accountOwner,1),(2,accountOwner,1)})
({(1,accountOwner,1),(2,accountOwner,1)})
({(1,accountOwner,1),(2,accountOwner,1)})
({(1,accountOwner,1),(2,accountOwner,1)})
({(1,accountOwner,1),(2,accountOwner,1)})