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 <[email protected]> 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 >
