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 2017/04/07 23:43:41 UTC

[jira] [Commented] (PIG-3021) Split results missing records when there is null values in the column comparison

    [ https://issues.apache.org/jira/browse/PIG-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961565#comment-15961565 ] 

Daniel Dai commented on PIG-3021:
---------------------------------

[~cheolsoo], do you remember why you change POIsNull.java? If all tests pass without the change, I'd like to commit the patch as is.

> Split results missing records when there is null values in the column comparison
> --------------------------------------------------------------------------------
>
>                 Key: PIG-3021
>                 URL: https://issues.apache.org/jira/browse/PIG-3021
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Chang Luo
>            Assignee: Nian Ji
>         Attachments: PIG-3021-2.patch, PIG-3021-3.patch, PIG-3021-4.patch, PIG-3021.patch
>
>
> Suppose a(x, y)
> split a into b if x==y, c otherwise;
> One will expect the union of b and c will be a.  However, if x or y is null, the record won't appear in either b or c.
> To workaround this, I have to change to the following:
> split a into b if x is not null and y is not null and x==y, c otherwise;



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)