You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/07/24 08:01:04 UTC

[jira] [Created] (SPARK-9303) Decimal should use java.math.Decimal directly instead of via Scala wrapper

Josh Rosen created SPARK-9303:
---------------------------------

             Summary: Decimal should use java.math.Decimal directly instead of via Scala wrapper
                 Key: SPARK-9303
                 URL: https://issues.apache.org/jira/browse/SPARK-9303
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
            Reporter: Josh Rosen
            Assignee: Josh Rosen


Spark SQL's Decimal class should use Java's BigDecimal instead of Scala's, since this removes a layer of object allocation and works around an issue where Scala's BigDecimal.hashCode() can lead to OOMs (see https://issues.scala-lang.org/browse/SI-6173). 



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