[
https://issues.apache.org/jira/browse/PIG-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026029#comment-13026029
]
Daniel Dai commented on PIG-2017:
---------------------------------
Looks good. Can you add couple of test cases (One good place to add is
TestConversions.testBytesToComplexTypeMisc), and I can review and commit the
patch?
> consumeMap() fails with EmptyStackException
> -------------------------------------------
>
> Key: PIG-2017
> URL: https://issues.apache.org/jira/browse/PIG-2017
> Project: Pig
> Issue Type: Bug
> Reporter: Jacob Perkins
> Attachments: utf8storagepatch.txt
>
>
> 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