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 2016/03/09 03:46:40 UTC

[jira] [Commented] (SPARK-13760) Fix BigDecimal constructor for FloatType

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

Apache Spark commented on SPARK-13760:
--------------------------------------

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

> Fix BigDecimal constructor for FloatType
> ----------------------------------------
>
>                 Key: SPARK-13760
>                 URL: https://issues.apache.org/jira/browse/SPARK-13760
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Sameer Agarwal
>            Priority: Trivial
>
> Change `BigDecimal.decimal(f: Float)` instead of `BigDecimal(f: float)`. The latter is deprecated and can result in inconsistencies due to an implicit conversion to `Double`.



--
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