You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2011/04/20 21:03:05 UTC

[jira] [Resolved] (PIG-2002) Regression: Pig gives error "Projection with nothing to reference!" for a valid query

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

Xuefu Zhang resolved PIG-2002.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.10)
                   0.9.0

> Regression: Pig gives error "Projection with nothing to reference!" for a valid query
> -------------------------------------------------------------------------------------
>
>                 Key: PIG-2002
>                 URL: https://issues.apache.org/jira/browse/PIG-2002
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>         Attachments: PIG-2002.patch
>
>
> Pig has problem parsing the following query:
> A = load 'x' as (u:map[], v);
> B = foreach A { T = (chararray)u#'hello'#'world'; generate T; };
> 2011-04-19 12:45:24,486 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2225: Projection with nothing to reference!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira