pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bejoy KS (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-2714) Pig documentation on TOP funcation has issues
Date Mon, 21 May 2012 05:35:41 GMT
Bejoy KS created PIG-2714:

             Summary: Pig documentation on TOP funcation has issues 
                 Key: PIG-2714
                 URL: https://issues.apache.org/jira/browse/PIG-2714
             Project: Pig
          Issue Type: Bug
          Components: documentation
    Affects Versions: 0.9.2
            Reporter: Bejoy KS
            Priority: Minor

The following documentation gives a picture that the columns are indexed from 1 but is actually
indexed from 0.


Specifically on the sample code snippet
result = TOP(10, 2, C); // and retain top 10 occurrences of 'second' in first

'second' is the second column, in that case we need to have the TOP function as TOP(10, 1,
C) instead of TOP(10, 2, C)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message