You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jacob Perkins (JIRA)" <ji...@apache.org> on 2011/04/27 05:01:03 UTC

[jira] [Updated] (PIG-2017) consumeMap() fails with EmptyStackException

     [ https://issues.apache.org/jira/browse/PIG-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Perkins updated PIG-2017:
-------------------------------

    Status: Open  (was: Patch Available)

> 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