[
https://issues.apache.org/jira/browse/PIG-1975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai updated PIG-1975:
----------------------------
Release Note: (was: Patch committed to trunk.)
> 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