You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Mohit Sabharwal (JIRA)" <ji...@apache.org> on 2015/04/18 00:58:59 UTC

[jira] [Commented] (PIG-4276) Fix ordering related failures in TestEvalPipeline for Spark

    [ https://issues.apache.org/jira/browse/PIG-4276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14500854#comment-14500854 ] 

Mohit Sabharwal commented on PIG-4276:
--------------------------------------

FYI [~kellyzly] and [~praveenr019], please take a look at the patch.

Spark {{groupByKey}}, {{reduceByKey}} and {{CoGroupRDD}} return tuples not sorted by key in Spark (unlike MR).

Note that {{reduceByKey}} is used by DISTINCT operator in Spark engine.

Where possible, patch uses {{Util.checkQueryOutputsAfterSort}}. In other places, the patch introduces an {{ORDER BY}} command to sort the GROUP BY or DISTINCT output.


> Fix ordering related failures in TestEvalPipeline for Spark
> -----------------------------------------------------------
>
>                 Key: PIG-4276
>                 URL: https://issues.apache.org/jira/browse/PIG-4276
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: liyunzhang_intel
>            Assignee: Mohit Sabharwal
>             Fix For: spark-branch
>
>         Attachments: PIG-4276.patch, TEST-org.apache.pig.test.TestEvalPipeline.txt
>
>
> error log is attached



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