You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2011/03/18 02:12:29 UTC

[jira] Updated: (PIG-356) map lookup on empty key should be disallowed at parse time

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

Olga Natkovich updated PIG-356:
-------------------------------

    Fix Version/s:     (was: 0.9.0)

> map lookup on empty key should be disallowed at parse time
> ----------------------------------------------------------
>
>                 Key: PIG-356
>                 URL: https://issues.apache.org/jira/browse/PIG-356
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Pradeep Kamath
>            Assignee: Xuefu Zhang
>            Priority: Minor
>
> Currently the following is allowed:
> {code}
> a = load 'testfile';
> b = foreach a generate $0#'apple', $0#'mango', $0#'', flatten($1#'orange');
> {code}
> Looking up an empty key ($0#'') should not be allowed at parse time

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