Right. I assume there is a reason you don't want to or are unable to have your 
udf check your condition and call return?

-----Original Message-----
From: "souri datta" <[email protected]>
To: [email protected]
Sent: 5/1/2011 8:50 AM
Subject: Re: Early exit from Pig udf

Meaning it should be able to finish quickly(return from the method).

On Fri, Apr 29, 2011 at 9:52 PM, Dmitriy Ryaboy <[email protected]> wrote:

> What do you mean by return?
>
>
> On Fri, Apr 29, 2011 at 5:01 AM, souri datta <[email protected]
> >wrote:
>
> > Hi,
> >  I have a pig udf.My requirement is , on meeting certain criteria, I want
> > to
> > return from Pig udf.Is there any way I can early exit from Pig udf?
> > Also, how can it be done in a Map/Reduce job?
> >
> >
> > Thanks,
> > Souri
> >
>

Reply via email to