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
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