-Re: InputSplit in UDF
Ashutosh Chauhan 2010-03-31, 03:36
PigSplit pigSplit ((PigSplit)((Context)PigMapReduce.sJobContext).getInputSplit());
InputSplit is = pigSplit.getWrappedSplit();
On Tue, Mar 30, 2010 at 13:52, Sandesh Devaraju <[EMAIL PROTECTED]> wrote:
> Hi All,
> Is there a way to get current InputSplit in a UDF (more specifically,
> a filter function)?
> I have a filter function that validates input rows according to
> certain criteria and I would like to report the source of failures (if
> Thanks in advance.
> - Sandesh