[
https://issues.apache.org/jira/browse/HIVE-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13578423#comment-13578423
]
Rohini Palaniswamy commented on HIVE-3911:
------------------------------------------
The problem is actually with java. The double precision differs based on the
order in which the numbers are summed up.
https://issues.apache.org/jira/browse/PIG-2484?focusedCommentId=13430431&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13430431
> udaf_percentile_approx.q fails with Hadoop 0.23.5 when map-side aggr is
> disabled.
> ---------------------------------------------------------------------------------
>
> Key: HIVE-3911
> URL: https://issues.apache.org/jira/browse/HIVE-3911
> Project: Hive
> Issue Type: Bug
> Affects Versions: 0.10.0
> Reporter: Thiruvel Thirumoolan
> Fix For: 0.11.0
>
> Attachments: HIVE-3911.patch
>
>
> I am running Hive10 unit tests against Hadoop 0.23.5 and
> udaf_percentile_approx.q fails with a different value when map-side aggr is
> disabled and only when 3rd argument to this UDAF is 100. Matches expected
> output when map-side aggr is enabled for the same arguments.
> This test passes when hadoop.version is 1.1.1 and fails when its 0.23.x or
> 2.0.0-alpha or 2.0.2-alpha.
> [junit] 20c20
> [junit] < 254.08333333333331
> [junit] ---
> [junit] > 252.77777777777777
> [junit] 47c47
> [junit] < 254.08333333333331
> [junit] ---
> [junit] > 252.77777777777777
> [junit] 74c74
> [junit] <
> [23.355555555555558,254.08333333333331,477.0625,489.5466666666667]
> [junit] ---
> [junit] > [24.07,252.77777777777777,476.9444444444444,487.82]
> [junit] 101c101
> [junit] <
> [23.355555555555558,254.08333333333331,477.0625,489.5466666666667]
> [junit] ---
> [junit] > [24.07,252.77777777777777,476.9444444444444,487.82]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira