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
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
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