Thank you - it seems obvious now :) for some reason I was trying to do
something awkward - e.g. grouping on the Bag (which isn't allowed)...

Thanks!


On Wed, Feb 22, 2012 at 5:24 PM, Jonathan Coveney <[email protected]>wrote:

> Flatten should give you what you want, no?
>
> 2012/2/22 Flo Leibert <[email protected]>
>
> > Hi -
> > I was wondering if there was an easy way to split a bag into multiple
> > records.
> >
> > Let's say I have the following:
> > {(foo), (bar), (bam)}, 5
> >
> > I'd like to generate
> > foo,5
> > bar,5
> > bam,5
> >
> > A UDF would be easy to write but maybe something built-in exists that I'm
> > not seeing?
> >
> > Thanks!
> > Flo
> >
>

Reply via email to