You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2016/11/18 22:14:58 UTC

[jira] [Commented] (PIG-5066) e2e Jython_Checkin_2 failing due to floating precision difference

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

Daniel Dai commented on PIG-5066:
---------------------------------

+1

> e2e Jython_Checkin_2 failing due to floating precision difference 
> ------------------------------------------------------------------
>
>                 Key: PIG-5066
>                 URL: https://issues.apache.org/jira/browse/PIG-5066
>             Project: Pig
>          Issue Type: Test
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-5066-v01.patch
>
>
> e2e Jython_Checkin_2 was failing on me.
> Looking at the output files, it seems to be from floating precision difference when order of addition differs between mapreduce and tez.
> mapreduce results
> {noformat}
> (independent,101261.17000000006)
> (democrat,102831.81999999999)
> (libertarian,106037.56000000003)
> (socialist,120992.34000000005)
> (republican,122018.44999999995)
> (green,124045.00000000001)
> {noformat}
> tez results
> {noformat}
> (independent,101261.17)
> (democrat,102831.82)
> (libertarian,106037.56000000003)
> (socialist,120992.34000000001)
> (republican,122018.44999999992)
> (green,124045.00000000003)
> {noformat}



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