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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to