[ https://issues.apache.org/jira/browse/PIG-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates reassigned PIG-356: ------------------------------ Assignee: Xuefu Zhang > 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 > Fix For: 0.9.0 > > > 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. - You can reply to this email to add a comment to the issue online.