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] [Created] (SPARK-14614) Add `bound` function
Dongjoon Hyun created SPARK-14614:
-------------------------------------
Summary: Add `bound` 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