Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Pass user configurations/arguments to UDF


Copy link to this message
-
Re: Pass user configurations/arguments to UDF
You can get the job configuration in your UDF through this function.
JobConf conf = UDFContext.getInstance().getJobConf();

Any job parameters that you pass in the job, should be available in conf.
On Thu, Apr 10, 2014 at 12:02 PM, Patcharee Thongtra <
[EMAIL PROTECTED]> wrote:
Regards,
Abhishek Agarwal