You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ping Xu (Jira)" <ji...@apache.org> on 2022/02/22 07:26:00 UTC

[jira] [Updated] (HIVE-25968) cast(double as bigint) may cause an error return

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

Ping Xu updated HIVE-25968:
---------------------------
    Attachment:     (was: image-2022-02-22-14-54-58-717.png)

> cast(double as bigint) may cause an error return
> ------------------------------------------------
>
>                 Key: HIVE-25968
>                 URL: https://issues.apache.org/jira/browse/HIVE-25968
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: hive version:2.1.1
>            Reporter: Ping Xu
>            Priority: Major
>         Attachments: image-2022-02-22-15-21-43-647.png
>
>
> hello, everyone. when running sql using cast function in hive CLI, I got an unexpected return as the following pic described. And I am not sure if the function cast designed just as type conversion in java. In other words, I should handle double arithmetic precision on myself.
> your reply sincerely.
> !image-2022-02-22-15-21-43-647.png!



--
This message was sent by Atlassian Jira
(v8.20.1#820001)