pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy V. Ryaboy (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2474) DuplicateForEachColumnRewrite fails in some pig scripts
Date Fri, 13 Jan 2012 23:00:39 GMT

    [ https://issues.apache.org/jira/browse/PIG-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185956#comment-13185956
] 

Dmitriy V. Ryaboy commented on PIG-2474:
----------------------------------------

PIG-2119 applied cleanly to 0.9.2 and testPlanGenration passed. Objections to committing to
0.9?
                
> DuplicateForEachColumnRewrite fails in some pig scripts
> -------------------------------------------------------
>
>                 Key: PIG-2474
>                 URL: https://issues.apache.org/jira/browse/PIG-2474
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.2
>            Reporter: Dmitriy V. Ryaboy
>
> The following script fails:
> {code}
> l = load 'tmp/t' as (key:int, v1, v2);              
> g = group l by key;                                 
> f = foreach g { o = order l by v2; generate l.v1; };
> describe f;
> f: {key: int,v1: bytearray,v2: bytearray}
> -- NOTE: this schema for f is the schema of o, not of l.v1 that we generate!
> dump f
> 2012-01-13 22:19:09,947 [main] INFO  org.apache.pig.tools.pigstats.ScriptState - Pig
features used in the script: GROUP_BY
> 2012-01-13 22:19:09,974 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2000: Error
processing rule DuplicateForEachColumnRewrite
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message