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/02/04 00:28:29 UTC
[jira] Updated: (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:all-tabpanel ]
Daniel Dai updated PIG-1536:
----------------------------
Attachment: PIG-1536-1.patch
> 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
>
>
> 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