hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-303) POCast does not cast chararray to bytearray
Date Thu, 24 Jul 2008 21:53:31 GMT

    [ https://issues.apache.org/jira/browse/PIG-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616671#action_12616671
] 

Olga Natkovich commented on PIG-303:
------------------------------------

I reviewed the patch.

My feedback is that I don't think we need to support cast to bytearray. I can think of any
reasonable use cases for it and makes a more common case of writing custom load function more
complex.

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


Mime
View raw message