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

Ashutosh Chauhan resolved PIG-1528.
-----------------------------------

    Resolution: Duplicate

Duplicate of PIG-859

> Enable use of similar aliases when doing a join :(ERROR 1108: Duplicate 
> schema alias:)
> --------------------------------------------------------------------------------------
>
>                 Key: PIG-1528
>                 URL: https://issues.apache.org/jira/browse/PIG-1528
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>    Affects Versions: 0.7.0
>            Reporter: Viraj Bhat
>
> I am doing a self join:
> Input file is tab separated:
> {code}
> 1       one
> 1       uno
> 2       two
> 2       dos
> 3       three
> 3       tres
> {code}
> vi...@machine~/pigscripts >pig -x local script.pig
> {code}
> A = load 'Adataset.txt' as (key:int, value:chararray);
> C = join A by key, A by key;
> dump C;
> {code} 
> 2010-07-30 23:09:05,422 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
> 1108: Duplicate schema alias: A::key in "C"
> Details at logfile: /homes/viraj/pigscripts/pig_1280531249235.log

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