liuxian created SPARK-20933:
-------------------------------
Summary: when the input parameter is float type for ’round ’ or
‘bround’ ,it can't work well
Key: SPARK-20933
URL: https://issues.apache.org/jira/browse/SPARK-20933
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.2.0
Reporter: liuxian
spark-sql>select round(cast(3.1415 as float), 3);
spark-sql>3.141
spark-sql>select bround(cast(3.1415 as float), 3);
spark-sql>3.141
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]