You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2016/09/29 23:19:20 UTC

[jira] [Updated] (HIVE-14863) Decimal to int conversion produces incorrect values

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

Sergey Shelukhin updated HIVE-14863:
------------------------------------
    Summary: Decimal to int conversion produces incorrect values  (was: Decimal to int conversion produces incorrect data)

> Decimal to int conversion produces incorrect values
> ---------------------------------------------------
>
>                 Key: HIVE-14863
>                 URL: https://issues.apache.org/jira/browse/HIVE-14863
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>
> {noformat}
> > select cast(cast ('111111111111111' as decimal(38,0)) as int);
> OK
> 307163591
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)