You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Cheolsoo Park (JIRA)" <ji...@apache.org> on 2013/10/27 02:34:31 UTC
[jira] [Updated] (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 ]
Cheolsoo Park updated PIG-3021:
-------------------------------
Status: Open (was: Patch Available)
Canceling the patch until I have time to answer Aniket's comment in the RB.
> 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: Cheolsoo Park
> Fix For: 0.13.0
>
> 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.1#6144)