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