You need to load your data twice and then use it as any other join.
Self-join is just like any other join to Pig.

Regards,
Shahab


On Sun, Sep 15, 2013 at 1:37 PM, Raj hadoop <[email protected]> wrote:

> Hi,
>
> I need to subtract row2 value from row1.  how to get it in Pig?
>
> Thanks
> Rajesh
>

Reply via email to