Alan Gates commented on PIG-620:

Thanks for the patch.  A couple of comments.  One, the file needs the Apache 
header.  Two, you have a println at the end of max() detailing the tuple being 
returned.  That looks like a debug statement.  Did you intend to leave it in 

> find Max Tuple by 1st field UDF (for piggybank)
> -----------------------------------------------
>                 Key: PIG-620
>                 URL: https://issues.apache.org/jira/browse/PIG-620
>             Project: Pig
>          Issue Type: New Feature
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>             Fix For: types_branch
>         Attachments: MaxTupleBy1stField.java
> This is simple UDF which takes bag of tuples and returns one with max. 1st 
> column.
> It is fairly trivial but I have seen people asking for it. Detailed usage 
> comments are in Javadoc.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to