pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheolsoo Park (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-3405) Top UDF documentation indicates improper use
Date Mon, 05 Aug 2013 17:48:50 GMT

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

Cheolsoo Park commented on PIG-3405:

> Top UDF documentation indicates improper use
> --------------------------------------------
>                 Key: PIG-3405
>                 URL: https://issues.apache.org/jira/browse/PIG-3405
>             Project: Pig
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 0.10.0
>         Environment: Javadoc and pig tutorial
>            Reporter: Keith Wyss
>            Assignee: Aniket Mokashi
>            Priority: Minor
>         Attachments: PIG-3405.patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
> The documentation in both the source code javadoc: http://svn.apache.org/repos/asf/pig/trunk/src/org/apache/pig/builtin/TOP.java
and the Apache Pig Reference manual: http://pig.apache.org/docs/r0.8.1/piglatin_ref2.html#TOP
indicates that the index that is passed to the TOP UDF should be 1-indexed. 
> Reading the code and testing the results, this is false. Zero-indexing gives the correct
behavior. Users should not be betrayed by the official documentation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message