You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/02/07 21:30:57 UTC

[jira] Commented: (PIG-1536) use same logic for merging inner schemas in "default union" and "union onschema"

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

Thejas M Nair commented on PIG-1536:
------------------------------------

+1

> use same logic for merging inner schemas in "default union" and "union onschema"
> --------------------------------------------------------------------------------
>
>                 Key: PIG-1536
>                 URL: https://issues.apache.org/jira/browse/PIG-1536
>             Project: Pig
>          Issue Type: Task
>            Reporter: Thejas M Nair
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1536-1.patch, PIG-1536-2.patch
>
>
> We should consider using logic for merging inner schema in case of the two different types of union. 
> In case of 'default union', it merges the two inner schema of bags/tuples by position if the number of fields are same and the corresponding types are compatible. 
> In case of 'union onschema', it considers tuple/bag with different innerschema to be incompatible types.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira