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

Pradeep Kamath resolved PIG-485.
--------------------------------

    Resolution: Duplicate

Daniel has submitted a patch for PIG-644 which is the exact same issue - 
tracking this issue in that jira - hence marking this duplicate.

> Column names in schema are not unique
> -------------------------------------
>
>                 Key: PIG-485
>                 URL: https://issues.apache.org/jira/browse/PIG-485
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Santhosh Srinivasan
>            Priority: Minor
>
> Duplicate column names are allowed in relations. When subsequent statements 
> refer to the alias, it is ambiguous pick the right column.
> {code}
> grunt> a = load 'a' as (name, age, gpa);
> grunt> b = foreach a generate name, name;
> grunt> describe b;
> b: {name: bytearray,name: bytearray}
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to