I need this information in the UDF which is a EvalFunc and not LoadFunc. May be I can communicate the pig split information from LoadFunc to EvalFunc through UDFContext. suggestions?
On Fri, Apr 18, 2014 at 12:49 AM, Prashant Kommireddi <[email protected]>wrote: > You should be able to get that info in your LoadFunc. > > Take a look at PigStorage.prepareToRead(RecordReader reader, PigSplit > split) implementation. > > > On Sat, Apr 12, 2014 at 12:23 PM, Abhishek Agarwal <[email protected] > >wrote: > > > How can I get the current file being processed by mapper in EvalFunc? In > > typical MR Job, this is achieved through ((FileSplit) > > context.getInputSplit).getPath() > > > > -- > > Regards, > > Abhishek Agarwal > > > -- Regards, Abhishek Agarwal
