GitHub user JoshRosen opened a pull request:

    https://github.com/apache/spark/pull/7635

    [SPARK-9303] Decimal should use java.math.Decimal directly instead of using 
Scala wrapper

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

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/JoshRosen/spark SPARK-9303

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/7635.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7635
    
----
commit d7a35358e2068eca9bdead2b93f3b96dcaf890d8
Author: Josh Rosen <[email protected]>
Date:   2015-07-24T06:02:13Z

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

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to