You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Ranjith <ra...@gmail.com> on 2012/05/15 05:17:32 UTC
Conditional operations
I have a few cases where I need to perform conditional statements like an "if then else ". I have used bash to help with that. How are others solving this problem?
Thanks,
Ranjith
Re: Conditional operations
Posted by Ranjith <ra...@gmail.com>.
Thanks Prashant.
Thanks,
Ranjith
On May 14, 2012, at 10:32 PM, Prashant Kommireddi <pr...@gmail.com> wrote:
> Ranjith, take a look at bincond here
> http://pig.apache.org/docs/r0.10.0/basic.html
>
> Sent from my iPhone
>
> On May 14, 2012, at 8:18 PM, Ranjith <ra...@gmail.com> wrote:
>
>> I have a few cases where I need to perform conditional statements like an "if then else ". I have used bash to help with that. How are others solving this problem?
>>
>> Thanks,
>> Ranjith
Re: Conditional operations
Posted by Prashant Kommireddi <pr...@gmail.com>.
Ranjith, take a look at bincond here
http://pig.apache.org/docs/r0.10.0/basic.html
Sent from my iPhone
On May 14, 2012, at 8:18 PM, Ranjith <ra...@gmail.com> wrote:
> I have a few cases where I need to perform conditional statements like an "if then else ". I have used bash to help with that. How are others solving this problem?
>
> Thanks,
> Ranjith