AnsweredAssumed Answered

Unable to support UDF  in Pig: jar not found

Question asked by archana on Feb 10, 2015
I am trying to use pig's provided piggy bank for decode and date time UDFS.
REGISTER piggybank.jar;
DEFINE DECODE main.java.org.apache.pig.piggybank.evaluation.decode.DECODE();
A= FOREACH Fact_APNI_FinalData_TextNew GENERATE DECODE(Fact_APNI_Stage::Tmp_Fact_APNI_Stage_Partition_Local::Fact_Raw::Pmt_Terms,'NT45','ab');
DUMP A;

But it is continuously giving me the piggybank.jar not found.
I tried copying this jar to Pig classpath also.
Please suggest how can i achieve this and where do i suppose to paste this jar.

Outcomes