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:21:07 UTC

[jira] [Created] (HIVE-6027) non-vectorized log10 has rounding issue

Sergey Shelukhin created HIVE-6027:
--------------------------------------

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


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)