hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-620) find Max Tuple by 1st field UDF (for piggybank)
Date Wed, 21 Jan 2009 01:21:59 GMT

    [ https://issues.apache.org/jira/browse/PIG-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665672#action_12665672

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 there?

> 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.

View raw message