consumeMap() fails with EmptyStackException
-------------------------------------------

                 Key: PIG-2017
                 URL: https://issues.apache.org/jira/browse/PIG-2017
             Project: Pig
          Issue Type: Bug
            Reporter: Jacob Perkins


If a map is read in its serialized form, eg: [key#value], then the consumeMap() 
method of Utf8StorageConverter fails for the following maps:

{code:none}
[a#)]
[a#}]
[a#"take a look at my lovely curly brace, }"]
[a#'oh look, a closed parenthesis! )']
{code}

There are a couple of options:

1. Define an escape sequence (ie. quotes or a backslash)
2. Call it a bad record, go get a beer, and move on.

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

Reply via email to