[
https://issues.apache.org/jira/browse/PIG-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheolsoo Park updated PIG-3485:
-------------------------------
Release Note: This is a backward incompatible change in LoadCaster
interface. Any loader that implements LoadCaster interface needs to replace the
deprecated method "bytesToMap(bytes[])" with "bytesToMap(bytes[],
ResourceFieldSchema)".
Status: Patch Available (was: Open)
> Remove CastUtils.bytesToMap(byte[] b) method from LoadCaster interface
> ----------------------------------------------------------------------
>
> Key: PIG-3485
> URL: https://issues.apache.org/jira/browse/PIG-3485
> Project: Pig
> Issue Type: Task
> Components: impl
> Reporter: Cheolsoo Park
> Assignee: Cheolsoo Park
> Fix For: 0.13.0
>
> Attachments: PIG-3485-1.patch, PIG-3485-2.patch
>
>
> PIG-1876 added typed map and annotated the following method as {{deprecated}}
> in 0.9:
> {code}
> @Deprecated
> public Map<String, Object> bytesToMap(byte[] b) throws IOException;
> {code}
> We should remove and replace it with the new method that takes type
> information:
> {code}
> public Map<String, Object> bytesToMap(byte[] b, ResourceFieldSchema
> fieldSchema) throws IOException;
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira