[ https://issues.apache.org/jira/browse/PIG-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026685#comment-13026685 ]
Daniel Dai commented on PIG-2017: --------------------------------- +1, will commit if tests pass. > 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, utf8storagepatch_withtests.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