pig-dev  

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

Pradeep Kamath (JIRA)
Mon, 04 Aug 2008 10:15:05 -0700

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: types_branch
            Reporter: Pradeep Kamath
            Priority: Minor
             Fix For: types_branch


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.

  • [jira] Created: (PIG-356) map lookup on empty key should be disallowed at parse time Pradeep Kamath (JIRA)