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

[jira] [Resolved] (PIG-1975) Need to provide backward compatibility for legacy LoadCaster (without bytesToMap(bytes, fieldSchema))

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

Daniel Dai resolved PIG-1975.
-----------------------------

      Resolution: Fixed
    Release Note: Patch committed to trunk.
    Hadoop Flags: [Reviewed]

> Need to provide backward compatibility for legacy LoadCaster (without bytesToMap(bytes, fieldSchema))
> -----------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1975
>                 URL: https://issues.apache.org/jira/browse/PIG-1975
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1975-1.patch, PIG-1975-2.patch
>
>
> Pig changed LoadCaster interface in 0.9 for typed map (PIG-1876). We change
> bytesToMap(byte[] b, ResourceFieldSchema fieldSchema)
> to
> bytesToMap(byte[] b)
> We should provide backward compatibility for old LoadCaster. If we don't find the new bytesToMap, we use the old bytesToMap to convert bytes to map with bytearray value. It is still wrong but at least matching the ability of old behavior.

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