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

Adam Szita commented on PIG-5228:
---------------------------------

[~kellyzly] this still fails on my cluster, I think it may be dependent on 
HashMap implementation and thus JDK version as well. The only problem here is 
that we depend on the order of Map entries which we shouldn't, so I've created 
a new a test case where we project by each key from the map.

Snippet from the diff:
{code:title=MR}
[age#75,name#calvin polk,gpa#2.67155704010308]  (bob johnson,42,1.2) 
{code}
{code:title=Spark}
[name#calvin polk,age#75,gpa#2.67155704010308]  (bob johnson,42,1.2)
{code}

> Orc_2 is failing with spark exec type
> -------------------------------------
>
>                 Key: PIG-5228
>                 URL: https://issues.apache.org/jira/browse/PIG-5228
>             Project: Pig
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: Adam Szita
>            Assignee: Adam Szita
>             Fix For: spark-branch
>
>         Attachments: PIG-5228.0.patch
>
>
> This test is failing due to mismatch in the actual and expected result. The 
> difference is only related to the order of entries in Pig maps such as:
> Actual:
> {code}
> [name#alice, age#18]...
> {code}
> Expected:
> {code}
> [age#18, name#alice]...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to