[ 
https://issues.apache.org/jira/browse/PIG-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai resolved PIG-621.
----------------------------

    Resolution: Fixed

The behavior of current code is: if we cannot cast bytearray to real type, log 
a warning, and increase the counter. Seems we are doing the right thing. Close 
the Jira.

> Casts swallow exceptions when there are issues with conversion of bytes to 
> Pig types
> ------------------------------------------------------------------------------------
>
>                 Key: PIG-621
>                 URL: https://issues.apache.org/jira/browse/PIG-621
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.2.0
>            Reporter: Santhosh Srinivasan
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>
> In the current implementation of casts, exceptions thrown while converting 
> bytes to Pig types are swallowed. Pig needs to either return NULL or rethrow 
> the exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to