hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Herberts <mathias.herbe...@gmail.com>
Subject Re: Pig question
Date Thu, 03 May 2012 19:04:26 GMT
B = GROUP A BY x;

C = FOREACH B GENERATE group,SIZE(B),B;

D = FILTER C BY $1 == N;



On Thu, May 3, 2012 at 8:58 PM, Aleksandr Elbakyan <ramalex1@yahoo.com> wrote:
> Hello All,
> I was wandering if it is possible to filter all groups in pig which have size N. This
sounds like something common but can not find the way to do it
>
> Please help :)
>
>
> Thanks,

Mime
View raw message