[
https://issues.apache.org/jira/browse/PIG-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Noguchi updated PIG-5066:
------------------------------
Resolution: Fixed
Fix Version/s: 0.17.0
Status: Resolved (was: Patch Available)
Thanks for the review Daniel!
Committed to trunk.
> 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
> Fix For: 0.17.0
>
> 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)