Re: macros and global variables

2012-01-01 Thread Daniel Dai
That seems reasonable. We can open a Jira. Thanks, Daniel On Tue, Dec 27, 2011 at 2:53 PM, Aniket Mokashi wrote: > Thanks Daniel, I will create a jira and submit a patch soon. > > I was wondering if there is a way to "by default" register(define) a set of > jars and macros everytime pig command

Re: macros and global variables

2011-12-27 Thread Aniket Mokashi
Thanks Daniel, I will create a jira and submit a patch soon. I was wondering if there is a way to "by default" register(define) a set of jars and macros everytime pig command is run. Please let me know. AFAIK, for jars, I can put them into pig.additional.jars and for params (defines) I can do --p

Re: macros and global variables

2011-12-23 Thread Daniel Dai
Aniket, We don't have a macro repository yet, but seems it's a good time to create one. Make a macro directory inside piggybank seems to be a good place. It would be great if you can open a Jira and attach a patch. Thanks, Daniel On Thu, Dec 22, 2011 at 3:39 PM, Aniket Mokashi wrote: > Hi, > >

macros and global variables

2011-12-22 Thread Aniket Mokashi
Hi, I was wondering if there is a place to store common macros and global parameters in pig (pigrc?). This should be available to all the users accessing pig via grunt or script. Please let me know if you have any pointers. Thanks, Aniket