[
https://issues.apache.org/jira/browse/PIG-5067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15677729#comment-15677729
]
Koji Noguchi commented on PIG-5067:
-----------------------------------
Discussed with [~rohini] offline and she pointed out
{quote}
Either chararray should be converted to numeric or other way round. Doesn't
make sense to consider them as bytearray. All key based operations (order by,
join, group by) will give wrong output
{quote}
[~daijy], asking for your input.
> Revisit union on numeric type and chararray to bytearray
> --------------------------------------------------------
>
> Key: PIG-5067
> URL: https://issues.apache.org/jira/browse/PIG-5067
> Project: Pig
> Issue Type: Bug
> Reporter: Koji Noguchi
>
> In PIG-2071, we changed the behavior of union on numeric and chararray to
> bytearray.
> This itself was always failing at runtime until we changed to skip the
> bytearray typecast for union-onschema in PIG-3270.
> (For union, it still fails with typecast to bytearray error. )
> Now, seeing users getting inconsistent results due to this union-ed bytearray.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)