pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1536) use same logic for merging inner schemas in "default union" and "union onschema"
Date Tue, 08 Feb 2011 19:35:57 GMT

     [ 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-3.patch

PIG-1536-3.patch resync with trunk.

> 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, PIG-1536-3.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

        

Mime
View raw message