You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/07 05:47:45 UTC
[jira] [Commented] (SPARK-9303) Decimal should use
java.math.Decimal directly instead of via Scala wrapper
[ https://issues.apache.org/jira/browse/SPARK-9303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661263#comment-14661263 ]
Apache Spark commented on SPARK-9303:
-------------------------------------
User 'davies' has created a pull request for this issue:
https://github.com/apache/spark/pull/8018
> 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
>
> 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