You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2013/12/13 00:33:07 UTC
[jira] [Updated] (HIVE-6027) non-vectorized log10 has rounding
issue
[ https://issues.apache.org/jira/browse/HIVE-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Shelukhin updated HIVE-6027:
-----------------------------------
Attachment: HIVE-6027.patch
trivial patch
> non-vectorized log10 has rounding issue
> ---------------------------------------
>
> Key: HIVE-6027
> URL: https://issues.apache.org/jira/browse/HIVE-6027
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Priority: Trivial
> Attachments: HIVE-6027.patch
>
>
> In HIVE-6010, I found that vectorized and non-vectorized log10 may produce different results in the last digit of the mantissa (e.g. 7 vs 8). It turns out that vectorized one uses Math.log10, but non-vectorized uses log/log(10). Both should use Math.log10.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)