hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-1393) Bug in Nested FOREACH
Date Fri, 16 Jul 2010 21:00:52 GMT

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

Olga Natkovich resolved PIG-1393.
---------------------------------

    Resolution: Invalid

> Bug in Nested FOREACH
> ---------------------
>
>                 Key: PIG-1393
>                 URL: https://issues.apache.org/jira/browse/PIG-1393
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Ankur
>             Fix For: 0.8.0
>
>
> Following script makes the parser throw an error
> A = load 'data' as ( a: int, b: map[]) ;
> B = foreach A generate ((chararray) b#'url') as url;
> C = foreach B { 
>       urlQueryFields = url#'queryFields';
>       result = (urlQueryFields is not null) ? urlQueryFields : 1;
>       generate result;
> };

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