One way of doing this is through a dry run, with your pig script using
the "-r" option.
This will produce a file "yourscript.pig.substituted" file which you can
later open to find out the substituted parameters.
From: Pallavi Palleti [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 01, 2009 9:45 PM
To: [EMAIL PROTECTED]
Subject: debugging parameters passed to pig script
Is there a way to print parameters(similar to echo in bash script) that
are passed to pig script for debugging purposes? Especially the ones
that we declare in the beginning of the script using "%declare".