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 <[email protected]> wrote: > Hi there, > > 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? > > Best, > Will >
