praveenesh kumar 2013-09-15, 19:03
Ruslan Al-Fakikh 2013-09-15, 23:36
I thought about SPLIT too and as well about a nested FILTER within a
FOREACH but the OP can have any number of distinct ids on which he wants to
split (thus getting the same number of splits/relations.) Won't SPLIT
always give you 2 relations.
On Sun, Sep 15, 2013 at 7:36 PM, Ruslan Al-Fakikh <[EMAIL PROTECTED]>wrote:
> Have you tried the SPLIT operator?
> After splitting the relation into two separate relations you can STORE them
> into different locations.
> Best Regards,
> Ruslan Al-Fakikh
> On Sun, Sep 15, 2013 at 11:03 PM, praveenesh kumar <[EMAIL PROTECTED]
> > Hi,
> > I have a relation A with (customer_id, data).
> > I want to get the unique customer_ids, and spilt them into new
> > files/relations. What is the most efficient way to do that.
> > I can get the distinct customer_ids in a relation. But not able to
> > understand how can can I use it in splitting the data by customer_id.
> > Regards
> > Praveenesh
praveenesh kumar 2013-09-15, 23:41
Shahab Yunus 2013-09-15, 23:44
praveenesh kumar 2013-09-16, 00:06
Ruslan Al-Fakikh 2013-09-16, 02:25