[ https://issues.apache.org/jira/browse/PIG-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated PIG-2068: ------------------------------- Description: The following requirement mentioned under union-onschema section is no longer applicable - {code} The data type for columns with same name in different input schemas should be compatible: Numeric types are compatible, and if column having same name in different input schemas have different numeric types, an implicit conversion will happen. Bytearray type is considered compatible with all other types, a cast will be added to convert to other type. Bags or tuples having different inner schema are considered incompatible. {code} was: The following requirement mentioned under union-onschema section is no longer applicable - {verbatim} The data type for columns with same name in different input schemas should be compatible: Numeric types are compatible, and if column having same name in different input schemas have different numeric types, an implicit conversion will happen. Bytearray type is considered compatible with all other types, a cast will be added to convert to other type. Bags or tuples having different inner schema are considered incompatible. {verbatim} > documentation of union onschema restrictions need to to be updated > ------------------------------------------------------------------ > > Key: PIG-2068 > URL: https://issues.apache.org/jira/browse/PIG-2068 > Project: Pig > Issue Type: Bug > Components: documentation > Affects Versions: 0.9.0 > Reporter: Thejas M Nair > Assignee: Corinne Chandel > Fix For: 0.9.0 > > > The following requirement mentioned under union-onschema section is no longer > applicable - > {code} > The data type for columns with same name in different input schemas should be > compatible: > Numeric types are compatible, and if column having same name in different > input schemas have different numeric types, an implicit conversion will > happen. > Bytearray type is considered compatible with all other types, a cast will > be added to convert to other type. > Bags or tuples having different inner schema are considered incompatible. > {code} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira