[ https://issues.apache.org/jira/browse/PIG-4852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15385473#comment-15385473 ]
Adam Szita commented on PIG-4852: --------------------------------- Hi, Isn't this already covered by ExternalTupleByNthField? I think this should get you the same result: define myMax ExtremalTupleByNthField( '1', 'max' ); This UDF implements both Algebraic and Accumulator. > Add accumulator implementation for MaxTupleBy1stField > ----------------------------------------------------- > > Key: PIG-4852 > URL: https://issues.apache.org/jira/browse/PIG-4852 > Project: Pig > Issue Type: Improvement > Reporter: Eyal Allweil > Priority: Minor > Labels: newbie, performance > > MaxTupleBy1stField has a regular and algebraic implementation; an accumulator > implementation should be relatively easy to do. -- This message was sent by Atlassian JIRA (v6.3.4#6332)