hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-1771) ROUND(infinity) chokes
Date Wed, 10 Nov 2010 06:02:13 GMT

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

Namit Jain updated HIVE-1771:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks John

> 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