hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viraj Bhat (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1528) Enable use of similar aliases when doing a join :(ERROR 1108: Duplicate schema alias:)
Date Fri, 30 Jul 2010 23:14:17 GMT
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}

viraj@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.


Mime
View raw message