You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Mark <st...@gmail.com> on 2011/04/07 03:36:46 UTC
UDF questions
What methods should I be implemented when creating my own UDF's other
than the ones that are required.
For example, when creating a EvalFunc<Tuple> I see there are a bunch of
classes that override outputSchema, or getArgToFuncMapping.
Should I consider overriding these methods too? Is there any
documentation on what these methods do and when and why someone should
override them?
Thanks
Re: UDF questions
Posted by Dmitriy Ryaboy <dv...@gmail.com>.
Hi Mark,
Check out http://pig.apache.org/docs/r0.8.0/udf.html
On Wed, Apr 6, 2011 at 6:36 PM, Mark <st...@gmail.com> wrote:
> What methods should I be implemented when creating my own UDF's other than
> the ones that are required.
>
> For example, when creating a EvalFunc<Tuple> I see there are a bunch of
> classes that override outputSchema, or getArgToFuncMapping.
>
> Should I consider overriding these methods too? Is there any documentation
> on what these methods do and when and why someone should override them?
>
> Thanks
>