hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6027) non-vectorized log10 has rounding issue
Date Fri, 13 Dec 2013 18:47:09 GMT

     [ https://issues.apache.org/jira/browse/HIVE-6027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashutosh Chauhan updated HIVE-6027:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Sergey!

> 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
>             Fix For: 0.13.0
>
>         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)

Mime
View raw message