[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org