pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-485) Column names in schema are not unique
Date Mon, 19 Oct 2009 18:21:59 GMT

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


Mime
View raw message