|| at Apr 18, 2011 at 10:35 am
Thanks! That was exactly what I was looking for :)
From: Dmitriy Ryaboy
Sent: Montag, 18. April 2011 11:52
Subject: Re: define constants in pig script
You are looking for %DEFAULT:http://pig.apache.org/docs/r0.8.0/piglatin_ref2.html#Parameter+Substitution
On Mon, Apr 18, 2011 at 2:28 AM, Lai Will wrote:
I have a pig script and that has hardcoded some input/output file
paths as well as some parameters.
It's relatively tedious to change these...
Is there a way to define constants at the beginning of the script so I
have the configuration in one place?