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/24 03:51:00 UTC
[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17497153#comment-17497153 ]
Ping Xu edited comment on HIVE-25968 at 2/24/22, 3:50 AM:
----------------------------------------------------------
well, the bug was solved inĀ the linked issue.
was (Author: JIRAUSER281256):
well, the bug is solved in https://issues.apache.org/jira/browse/HIVE-13945
> 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
> Reporter: Ping Xu
> Priority: Major
> Fix For: 2.3.0
>
> 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)