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/05/16 19:25:47 UTC

[jira] [Commented] (PIG-2071) casting numeric type to chararray during schema merge for union is inconsistent with other schema merge cases

    [ https://issues.apache.org/jira/browse/PIG-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034115#comment-13034115 ] 

Daniel Dai commented on PIG-2071:
---------------------------------

+1

> 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