[ 
https://issues.apache.org/jira/browse/PIG-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nian Ji updated PIG-3021:
-------------------------
    Attachment: PIG-3021-4.patch

We shouldn't change POIsNull.java file. It works well when using "otherwise 
all" keywords right now. I already attached a new patch(PIG-3021-4.patch).

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

Reply via email to