You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bo Meng (JIRA)" <ji...@apache.org> on 2016/04/14 01:43:25 UTC

[jira] [Commented] (SPARK-14614) Add `bround` function

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

Bo Meng commented on SPARK-14614:
---------------------------------

I have tried on Hive 1.2.1, actually this function seems dropped out. 

> Add `bround` function
> ---------------------
>
>                 Key: SPARK-14614
>                 URL: https://issues.apache.org/jira/browse/SPARK-14614
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Dongjoon Hyun
>
> This issue aims to add `bound` function (aka Banker's round) by extending current `round` implementation.
> Hive supports `bround` since 1.3.0. [Language Manual|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF].
> {code}
> hive> select round(2.5), bround(2.5);
> OK
> 3.0	2.0
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org