[ 
https://issues.apache.org/jira/browse/HIVE-14738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15485314#comment-15485314
 ] 

Xuefu Zhang commented on HIVE-14738:
------------------------------------

[~dscarlat], could you provide example on how round() UDF doesn't work for 
float? Thanks.

> Not implicit cast from float to double in round function.
> ---------------------------------------------------------
>
>                 Key: HIVE-14738
>                 URL: https://issues.apache.org/jira/browse/HIVE-14738
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: David Scarlatti
>            Priority: Minor
>
> select round(cast(lat as double),1) from table works fine (lat type is float),
> select round(lat,1) from table does not work ok (result is not rounded)



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

Reply via email to