Hi Jonathan,

The PIG UDF will generate a block of sequence numbers.
The parent PIG script will call this UDF in a foreach statement and the UDF has 
to return the next number from the sequence.

Thanks

Shibu Thomas
MSCIS-IS
Office :  +91 (40) 669 32660
Mobile: +91 95811 51116 


-----Original Message-----
From: Jonathan Coveney [mailto:[email protected]] 
Sent: Thursday, February 23, 2012 10:46 AM
To: [email protected]
Subject: Re: Retaining state in PIG UDF

You need to be clearer about what you hope to achieve

2012/2/22 Shibu Thomas <[email protected]>

> Hi,
>
> Is there any mechanism of retaining state between PIG UDF invocations?
>
> Thanks
>
> Shibu Thomas
> MSCIS-IS
> Office :  +91 (40) 669 32660
> Mobile: +91 95811 51116
>
>

Reply via email to