That's probably not the option as I need to wrap it in oozie java action
and not sure that pig will be there. May be I am completely mistaken

On 15 October 2014 14:01, praveenesh kumar <praveen...@gmail.com> wrote:

> You can write a wrapper (like a shell/ruby/python script) which can do the
> parameter generation and then pass those parameters using -p parameter in
> your pig calling statement. Wouldn't that work ?
>
>
>
> On Wed, Oct 15, 2014 at 12:16 PM, Jakub Stransky <stransky...@gmail.com>
> wrote:
>
> > Hello experienced users,
> >
> > I have a pig script where I need dynamically change input parameters e.g.
> > input paths and for every single combination I need to submit a pig
> > script.  Esentially  I am walking around missing features of loops or for
> > cycles. The only solution which came to my mind is put the whole dynamic
> > logic in java activity just need to fine a way how to submit a pig script
> > from java.
> >
> > Could someone please point me to right direction?
> >
> > Many thanks
> > Jakub
> >
>



-- 
Jakub Stransky
cz.linkedin.com/in/jakubstransky

Reply via email to