[
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