GitHub user viirya opened a pull request:

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

    [SPARK-15094][SQL] Do not eliminate DeserializeToObject at top of logical 
plan

    ## What changes were proposed in this pull request?
    
    We will eliminate the pair of `DeserializeToObject` and 
`SerializeFromObject` in optimizer. However, if the `DeserializeToObject` is at 
the top of logical plan, it means we want to get the domain object exactly. In 
this case, we should not eliminate it.
    
    ## How was this patch tested?
    
    `DatasetSuite`.

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

    $ git pull https://github.com/viirya/spark-1 fix-ds-generic

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

    https://github.com/apache/spark/pull/12898.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 #12898
    
----
commit 481c92cb5f3b6450abe4b6de714fbd884643c77f
Author: Liang-Chi Hsieh <[email protected]>
Date:   2016-05-04T09:49:27Z

    Add test case.

commit 1ac8bb24ab3d818d1d67e87887907fc31181d32b
Author: Liang-Chi Hsieh <[email protected]>
Date:   2016-05-04T13:35:28Z

    Don't eliminate the DeserializeToObject at top of logical plan.

commit 697679e5154ce1b504ae97f6f9b1d65c37af7c90
Author: Liang-Chi Hsieh <[email protected]>
Date:   2016-05-04T13:38:41Z

    Remove unused import.

----


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