Sheng Guo 2012-11-20, 00:35
Jonathan Coveney 2012-11-20, 01:49
On a different context, I was once stuck with the same problem but was able
to navigate this using bincond operator.
Not sure, how you would hack in here.. but i have a feeling it can be
On Mon, Nov 19, 2012 at 8:49 PM, Jonathan Coveney <[EMAIL PROTECTED]>wrote:
> In pure Pig, you wouldn't do something like this. However, PIg supports
> control flow in Python (I really should get on making the JRuby wrapper,
> but I digress). You can find docs for this on the pig website. Basically
> the control flow is in Python, and you launch jobs from there.
> 2012/11/19 Sheng Guo <[EMAIL PROTECTED]>
> > Hi,
> > I am trying to do some tasks with 'if else' inside the pig
> > script, specifically, if the folder exists, we do some statements and
> > the data into some table, otherwise, just ignore this step.
> > How can I do this in pig?
> > Thanks,
> > Sheng