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: types_branch
            Reporter: Santhosh Srinivasan
            Assignee: Santhosh Srinivasan
            Priority: Minor
             Fix For: types_branch


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