You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2011/04/27 00:17:03 UTC
[jira] [Updated] (PIG-1989) complex type casting should return null
on casting failure
[ https://issues.apache.org/jira/browse/PIG-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai updated PIG-1989:
----------------------------
Attachment: PIG-1989-1.patch
This happens when the size of tuple inner schema does not match the data. Attach PIG-1989-1.patch.
> complex type casting should return null on casting failure
> -----------------------------------------------------------
>
> Key: PIG-1989
> URL: https://issues.apache.org/jira/browse/PIG-1989
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Thejas M Nair
> Assignee: Daniel Dai
> Fix For: 0.9.0
>
> Attachments: PIG-1989-1.patch
>
>
> When casting fails for complex objects, pig is currently returning un-casted object if the cast fails.
> It should return null instead. That is consistent with the behavior when casting to other basic types.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira