[
https://issues.apache.org/jira/browse/PIG-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617548#action_12617548
]
Alan Gates commented on PIG-303:
--------------------------------
One question on parsing complex types in PigStorage. In the function
parseFromBytes, which is called on every complex field that is parsed, you
construct a new TextDataParser to parse that field. Is that necessary? Can
the same one not be used repeatedly?
> POCast does not cast chararray to bytearray
> -------------------------------------------
>
> Key: PIG-303
> URL: https://issues.apache.org/jira/browse/PIG-303
> Project: Pig
> Issue Type: Bug
> Affects Versions: types_branch
> Reporter: Santhosh Srinivasan
> Assignee: Santhosh Srinivasan
> Fix For: types_branch
>
> Attachments: pig_type_to_bytearray.patch,
> remove_cast_to_bytearray.patch
>
>
> When chararray is cast to bytearray, the query execution fails due to
> ClassCastException. The problem is inside the getNext(DataByteArray) code in
> POCast.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.