GitHub user lianhuiwang opened a pull request:

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

    [SPARK-15649] [SQL] Avoid to serialize MetastoreRelation in 
HiveTableScanExec

    ## What changes were proposed in this pull request?
    in HiveTableScanExec, schema is lazy and is related with 
relation.attributeMap. So it needs to serialize MetastoreRelation when 
serializing task binary bytes.It can avoid to serialize MetastoreRelation.
    
    ## How was this patch tested?

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

    $ git pull https://github.com/lianhuiwang/spark avoid-serialize

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

    https://github.com/apache/spark/pull/13397.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 #13397
    
----
commit 1ab2d43d81c987162124f949bbed64c1d17056f7
Author: Lianhui Wang <[email protected]>
Date:   2016-05-30T03:32:37Z

    init commit

----


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