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/25 02:27:04 UTC
[jira] [Commented] (SPARK-20876) if the input parameter is float
type for ceil ,the result is not we expected
[ https://issues.apache.org/jira/browse/SPARK-20876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16024077#comment-16024077 ]
Apache Spark commented on SPARK-20876:
--------------------------------------
User '10110346' has created a pull request for this issue:
https://github.com/apache/spark/pull/18103
> if the input parameter is float type for ceil ,the result is not we expected
> -----------------------------------------------------------------------------
>
> Key: SPARK-20876
> URL: https://issues.apache.org/jira/browse/SPARK-20876
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.1.0
> Reporter: liuxian
>
> spark-sql>SELECT ceil(cast(12345.1233 as float));
> spark-sql>12345
> For this case, we expected is 12346
--
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