hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1771) ROUND(infinity) chokes
Date Tue, 09 Nov 2010 01:04:07 GMT

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

John Sichi updated HIVE-1771:
-----------------------------

    Status: Patch Available  (was: Open)

> ROUND(infinity) chokes
> ----------------------
>
>                 Key: HIVE-1771
>                 URL: https://issues.apache.org/jira/browse/HIVE-1771
>             Project: Hive
>          Issue Type: Bug
>          Components: UDF
>    Affects Versions: 0.6.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1771.1.patch
>
>
> Since 1-arg ROUND returns an integer, it's hard to fix this without either losing data
(return NULL) or making a backwards-incompatible change (return DOUBLE instead of BIGINT).
> In any case, we should definitely fix 2-arg ROUND to preserve infinity/NaN/etc, since
it is already returning double.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message