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
             Fix For: 0.9.0


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to