[
https://issues.apache.org/jira/browse/PIG-4825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184324#comment-15184324
]
liyunzhang_intel commented on PIG-4825:
---------------------------------------
[~pallavi.rao]: The result of group has difference between mapreduce and spark
mode. A lot of unit test failures are caused by this.
I think it's better not to modify Util#checkQueryOutputs. It's better to
modify the unit test case to pass the unit test like following way:
TestMultiQuery#testMultiQueryJiraPig4480
from
{code}
......
Util.checkQueryOutputs(actualResults.iterator(), expectedResults);
.....
Util.checkQueryOutputs(actualResults.iterator(), expectedResults);
{code}
to
{code}
@Test
public void testMultiQueryJiraPig4480() throws Exception {
......
Util.checkQueryOutputsAfterSort(actualResults.iterator(),
expectedResults);
.....
Util.checkQueryOutputsAfterSort(actualResults.iterator(),
expectedResults);
}
{code}
Before we have modified a lot of this kind of cases like PIG-4276.
[~mohitsabharwal], can you give us your opinion?
> Fix TestMultiQuery failure
> --------------------------
>
> Key: PIG-4825
> URL: https://issues.apache.org/jira/browse/PIG-4825
> Project: Pig
> Issue Type: Sub-task
> Components: spark
> Reporter: Pallavi Rao
> Assignee: Pallavi Rao
> Labels: spork
> Fix For: spark-branch
>
> Attachments: PIG-4825.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)