You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2016/03/10 03:17:40 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-13760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yin Huai resolved SPARK-13760.
------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.1
                   2.0.0

Issue resolved by pull request 11597
[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
>             Fix For: 2.0.0, 1.6.1
>
>
> 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