[
https://issues.apache.org/jira/browse/PIG-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated PIG-2071:
-------------------------------
Attachment: PIG-2071.1.patch
PIG-2071.1.patch - test-patch and unit tests succeeded with this patch.
(except for one test that is currently failing in trunk as well).
> 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