What is your desired output? Sounds like you want a group.

2012/6/26 Haitao Yao <yao.e...@gmail.com>

> hi,
>        How can I distinct only one field of a relation?
>        here's the demo:
>
>        A = LOAD 'data' AS (a1:int,a2:int,a3:int);
>        B = distinct A by a1;
>
>
>        how can I do this?
>
>
>
> Haitao Yao
> yao.e...@gmail.com
> weibo: @haitao_yao
> Skype:  haitao.yao.final
>
>

Reply via email to