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