hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siying Dong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2378) Warn user that precision is lost when bigint is implicitly cast to double.
Date Tue, 30 Aug 2011 18:45:44 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093991#comment-13093991
] 

Siying Dong commented on HIVE-2378:
-----------------------------------

+1, will commit if unit tests pass.

> Warn user that precision is lost when bigint is implicitly cast to double.
> --------------------------------------------------------------------------
>
>                 Key: HIVE-2378
>                 URL: https://issues.apache.org/jira/browse/HIVE-2378
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2378.1.patch.txt, HIVE-2378.2.patch.txt, HIVE-2378.3.patch.txt
>
>
> When a bigint is implicitly cast to a double (when a bigint is involved in an equality
expression with a string or double) precision may be lost, resulting in unexpected behavior.
 Until we fix the underlying issue we should throw an error in strict mode, and a warning
in nonstrict mode alerting the user about this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message