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

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

Sameer Agarwal created SPARK-13760:
--------------------------------------

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