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

[jira] [Commented] (SPARK-20665) Spark-sql, "Bround" and "Round" function return NULL

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

Apache Spark commented on SPARK-20665:
--------------------------------------

User '10110346' has created a pull request for this issue:
https://github.com/apache/spark/pull/18082

> Spark-sql, "Bround" and "Round" function return NULL
> ----------------------------------------------------
>
>                 Key: SPARK-20665
>                 URL: https://issues.apache.org/jira/browse/SPARK-20665
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0
>            Reporter: liuxian
>            Assignee: liuxian
>             Fix For: 2.0.3, 2.1.2, 2.2.0
>
>
> >select bround(12.3, 2);
> >NULL
> For  this case, the expected result is 12.3, but it is null
> "Round" has the same problem:
> >select round(12.3, 2);
> >NULL



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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