hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1392) Parser fails to recognize valid field
Date Mon, 16 Aug 2010 17:40:18 GMT

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

Richard Ding updated PIG-1392:
------------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

The parser bug is fixed, but encounters another problem which is tracked by PIG-1545. The
work around is to disable the secondary key optimization.

The patch is committed to the trunk.

> Parser fails to recognize valid field
> -------------------------------------
>
>                 Key: PIG-1392
>                 URL: https://issues.apache.org/jira/browse/PIG-1392
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Ankur
>            Assignee: niraj rai
>             Fix For: 0.8.0
>
>         Attachments: nested_parser.patch
>
>
> Using this script below, parser fails to recognize a valid field in the relation and
throws error
> A = LOAD '/tmp' as (a:int, b:chararray, c:int);
> B = GROUP A BY (a, b);
> C = FOREACH B { bg = A.(b,c); GENERATE group, bg; } ;
> The error thrown is
> 2010-04-23 10:16:20,610 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error
during parsing. Invalid alias: c in {group: (a: int,b: chararray),A: {a: int,b: chararray,c:
int}}

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