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

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

Koji Noguchi created PIG-5066:
---------------------------------

             Summary: 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
            Priority: Trivial


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)