GitHub user hvanhovell opened a pull request:

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

    [SPARK-17068][SQL] Make view-usage visible during analysis [WIP]

    ## What changes were proposed in this pull request?
    This PR adds a field to subquery alias in order to make the usage of views 
in a resolved `LogicalPlan` more visible (and more understandable).
    
    *TBD: Add an example*
    
    ## How was this patch tested?
    *WIP: I'll add tests tomorrow.*

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

    $ git pull https://github.com/hvanhovell/spark SPARK-17068

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

    https://github.com/apache/spark/pull/14657.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 #14657
    
----
commit abbd168541abab9fde27493ea6e02b80badff09a
Author: Herman van Hovell <[email protected]>
Date:   2016-08-15T22:43:07Z

    Add view name to subquery alias.

commit 657649617208e6bd24de117996c88fbeef43d230
Author: Herman van Hovell <[email protected]>
Date:   2016-08-15T23:54:36Z

    Add view functionality. Fix tests.

----


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