Re: define global constants in pig script

2012-07-29 Thread Haitao Yao
eally misunderstanding what you mean? > > 2012/7/26 Haitao Yao > >> Hi, all >>I got an idea about a new feature for pig: define global constants >> in pig script. >>Here's the example like this: >> >> -- define a globa

Re: define global constants in pig script

2012-07-27 Thread Jonathan Coveney
Pig already has this! :) http://pig.apache.org/docs/r0.10.0/cont.html#parameter-sub Unless I'm really misunderstanding what you mean? 2012/7/26 Haitao Yao > Hi, all > I got an idea about a new feature for pig: define global constants > in pig script. > Here&#

define global constants in pig script

2012-07-26 Thread Haitao Yao
Hi, all I got an idea about a new feature for pig: define global constants in pig script. Here's the example like this: -- define a global constant for storage define store_location "/where_you_store_result"; -- then all the following constants reference will