You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Gianmarco De Francisci Morales (JIRA)" <ji...@apache.org> on 2012/09/13 17:56:08 UTC

[jira] [Resolved] (PIG-2743) Output Schema

     [ https://issues.apache.org/jira/browse/PIG-2743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gianmarco De Francisci Morales resolved PIG-2743.
-------------------------------------------------

    Resolution: Fixed
    
> Output Schema
> -------------
>
>                 Key: PIG-2743
>                 URL: https://issues.apache.org/jira/browse/PIG-2743
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Allan AvendaƱo
>            Assignee: Allan AvendaƱo
>
> For the rank operator, I was considering the following schema:
> E.g.
> A = load 'data' as (x:int,y:chararray,z:int,rz:chararray);
> C = rank A by x;
> So the output schema could be: 
> C: {x: int,y: chararray,z: int,rz: chararray,A::rank: int}
> In general 
> {<schema_of_working_alias>,<alias>::rank#int}

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