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

ASF GitHub Bot updated HIVE-26731:
----------------------------------
    Labels: pull-request-available  (was: )

> UDF trunc produces incorrect result for higher values
> -----------------------------------------------------
>
>                 Key: HIVE-26731
>                 URL: https://issues.apache.org/jira/browse/HIVE-26731
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gopinath
>            Assignee: Gopinath
>            Priority: Major
>              Labels: pull-request-available
>
> The trunc function produces an incorrect result for higher values。
> The test is as follows:
>  
>  
> {quote}
> 0: jdbc:hive2://localost> select trunc(123456711889.122345897, 8);
> +----------------------------------+
> |               _c0                |
> +----------------------------------+
> | -61010728847.97317027  |
> +----------------------------------+
> {quote}
>  
> Expected Value -  123456711889.12234589 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to