You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Nian Ji (JIRA)" <ji...@apache.org> on 2017/04/06 23:33:41 UTC

[jira] [Assigned] (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:all-tabpanel ]

Nian Ji reassigned PIG-3021:
----------------------------

    Assignee: Nian Ji

> 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.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)