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: [email protected]
For additional commands, e-mail: [email protected]