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

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

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

Dongjoon Hyun updated SPARK-14614:
----------------------------------
    Summary: Add `bround` function  (was: Add `bound` function)

> 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