You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "liyunzhang_intel (JIRA)" <ji...@apache.org> on 2015/06/09 14:49:02 UTC

[jira] [Updated] (PIG-4596) Fix unit test failures about MergeJoinConverter in spark mode

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

liyunzhang_intel updated PIG-4596:
----------------------------------
    Attachment: PIG-4596.patch

[~mohitsabharwal]:
 in PIG-4596.patch,changes are:
1.change the key type  in MergeJoinConverter.java from "Object" to "IndexedKey"
to avoid considering the null value from table a and table b same when table a and table b are mergeJoined.


> Fix unit test failures about MergeJoinConverter in spark mode
> -------------------------------------------------------------
>
>                 Key: PIG-4596
>                 URL: https://issues.apache.org/jira/browse/PIG-4596
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: liyunzhang_intel
>            Assignee: liyunzhang_intel
>             Fix For: spark-branch
>
>         Attachments: PIG-4596.patch
>
>
> using following command to test TestMergeJoin
> ant -Dtestcase=TestMergeJoin -Dexectype=spark  -Dhadoopversion=23  test
>  
> Following unit test fails:
> org.apache.pig.test.TestMergeJoin.testMergeJoinWithNulls
> The reason why these unit test fail is because null value from table a and table b are considered same when table a merge join table b.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)