[
https://issues.apache.org/jira/browse/PIG-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904835#action_12904835
]
Scott Carey commented on PIG-1506:
----------------------------------
I have just confirmed that on 0.7 it works fine, but 0.5 does not. So this was
fixed in 0.6 or 0.7. I suppose I can take out some null guards from my scripts
now :)
This was my test:
{code}
A = LOAD '/tmp/test.txt' as (a,b,c);
B = LOAD '/tmp/test.txt' as (a,b,c);
C = JOIN A by (a,b), B by (a,b);
DUMP A;
DUMP C;
{code}
With 0.5 I get:
A:
(fred,1,3)
(bob,,4)
C:
(bob,,4,bob,,4)
(fred,1,3,fred,1,3)
and with 0.7 C is:
(fred,1,3,fred,1,3)
> Need to clarify the difference between null handling in JOIN and COGROUP
> ------------------------------------------------------------------------
>
> Key: PIG-1506
> URL: https://issues.apache.org/jira/browse/PIG-1506
> Project: Pig
> Issue Type: Improvement
> Components: documentation
> Reporter: Olga Natkovich
> Assignee: Corinne Chandel
> Fix For: 0.8.0
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.