[
https://issues.apache.org/jira/browse/PIG-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair resolved PIG-2071.
--------------------------------
Resolution: Fixed
Patch committed to trunk and 0.9 branch.
> casting numeric type to chararray during schema merge for union is
> inconsistent with other schema merge cases
> -------------------------------------------------------------------------------------------------------------
>
> Key: PIG-2071
> URL: https://issues.apache.org/jira/browse/PIG-2071
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Thejas M Nair
> Assignee: Thejas M Nair
> Fix For: 0.9.0
>
> Attachments: PIG-2071.1.patch
>
>
> In PIG-1536, if a column in output of union has a source column one input of
> type charraray and in other it is of a numeric type, the column of numeric
> type will be cast to chararray. But in all other cases, chararray and numeric
> types are considered incompatible, and as a result such implicit casting is
> not done.
> To be consistent with other cases, union also should consider chararray and
> numeric types to be incompatible.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira