hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Wilfong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-2427) Warn user that precision is lost when bigint is implicitly cast to double in joins and unions.
Date Fri, 29 Jun 2012 20:27:44 GMT

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

Kevin Wilfong updated HIVE-2427:
--------------------------------

    Attachment: HIVE-2427.5.patch.txt
    
> Warn user that precision is lost when bigint is implicitly cast to double in joins and
unions.
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2427
>                 URL: https://issues.apache.org/jira/browse/HIVE-2427
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Kevin Wilfong
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-2427.1.patch.txt, HIVE-2427.2.patch.txt, HIVE-2427.3.patch.txt,
HIVE-2427.5.patch.txt, HIVE-2427.D2181.1.patch
>
>
> When a bigint is implicitly cast to a double (when a bigint is involved in an equality
expression with a string or double as part of a join condition, or when a bigint column is
to be combined with a string or double column as part of a union) 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message