GitHub user lw-lin opened a pull request:

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

    [SPARK-17061][SPARK-17093][SQL] `MapObjects` should make copies of 
unsafe-backed data

    ## What changes were proposed in this pull request?
    
    Currently `MapObjects` does not make copies of unsafe-backed data, leading 
to problems like 
[SPARK-17061](https://issues.apache.org/jira/browse/SPARK-17061) 
[SPARK-17093](https://issues.apache.org/jira/browse/SPARK-17093).
    
    This patch makes `MapObjects` make copies of unsafe-backed data.
    
    ## How was this patch tested?
    
    Add a new test case which would fail without this patch.
    


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

    $ git pull https://github.com/lw-lin/spark mapobjects-copy

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

    https://github.com/apache/spark/pull/14698.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 #14698
    
----
commit 4fc1ec51a938762a70bd3a50111b0b3a00e94955
Author: Liwei Lin <lwl...@gmail.com>
Date:   2016-08-18T02:53:30Z

    MapObjects should copy unsafe-backed data

----


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