GitHub user marmbrus opened a pull request:

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

    [SPARK-2561][SQL] Fix apply schema

    We need to use the analyzed attributes otherwise we end up with a tree that 
will never resolve.

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

    $ git pull https://github.com/marmbrus/spark fixApplySchema

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

    https://github.com/apache/spark/pull/1470.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 #1470
    
----
commit 496901521fc4a22f1870e99ceafd14bda36a245f
Author: Michael Armbrust <[email protected]>
Date:   2014-07-17T21:30:28Z

    Add test case.

commit f96819597b8b620480714d3d00bd5f2a87d27ad9
Author: Michael Armbrust <[email protected]>
Date:   2014-07-17T21:31:43Z

    Use analyzed attributes when applying the schema.

----


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

Reply via email to