GitHub user viirya opened a pull request:

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

    [SPARK-13616][SQL] Let SQLBuilder convert logical plan without a project on 
top of it

    JIRA: https://issues.apache.org/jira/browse/SPARK-13616
    
    ## What changes were proposed in this pull request?
    
    It is possibly that a logical plan has been removed `Project` from the top 
of it. Or the plan doesn't has a top `Project` from the beginning because it is 
not necessary. Currently the `SQLBuilder` can't convert such plans back to SQL. 
This change is to add this feature.
    
    ## How was this patch tested?
    
    A test is added to `LogicalPlanToSQLSuite`.


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

    $ git pull https://github.com/viirya/spark-1 sqlbuilder-notopselect

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

    https://github.com/apache/spark/pull/11466.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 #11466
    
----
commit 3b9a3d0b950b7c99b412821e072478b4a4676fc8
Author: Liang-Chi Hsieh <[email protected]>
Date:   2016-03-02T09:10:22Z

    Let SQLBuilder convert logical plan without a project on top of it.

----


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