GitHub user mateiz opened a pull request:

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

    [SPARK-3085] [SQL] Use compact data structures in SQL joins

    This reuses the CompactBuffer from Spark Core to save memory and pointer
    dereferences. I also tried AppendOnlyMap instead of java.util.HashMap
    but unfortunately that slows things down because it seems to do more
    equals() calls and the equals on GenericRow, and especially JoinedRow,
    is pretty expensive.

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

    $ git pull https://github.com/mateiz/spark spark-3085

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

    https://github.com/apache/spark/pull/1993.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 #1993
    
----
commit 5f903ee59bf9e2da8b8b99430cf01a9f15c48fd3
Author: Matei Zaharia <ma...@databricks.com>
Date:   2014-08-17T02:44:54Z

    [SPARK-3085] [SQL] Use compact data structures in SQL joins
    
    This reuses the CompactBuffer from Spark Core to save memory and pointer
    dereferences. I also tried AppendOnlyMap instead of java.util.HashMap
    but unfortunately that slows things down because it seems to do more
    equals() calls and the equals on GenericRow, and especially JoinedRow,
    is pretty expensive.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to