GitHub user windpiger opened a pull request:

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

    [SPARK-19598][SQL]Remove the alias parameter in UnresolvedRelation

    ## What changes were proposed in this pull request?
    
    Remove the alias parameter in `UnresolvedRelation`, and use `SubqueryAlias` 
to replace it.
    This can simplify some `match case` situations.
    
    For example, the broadcast hint pull request can have one fewer case 
https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala#L57-L61
    
    ## How was this patch tested?
    add some unit tests

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

    $ git pull https://github.com/windpiger/spark removeUnresolveTableAlias

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

    https://github.com/apache/spark/pull/16956.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 #16956
    
----
commit 94084bdca9870b3c7a2ea947dd6bfaa011de3c36
Author: windpiger <song...@outlook.com>
Date:   2017-02-16T14:11:45Z

    [SPARK-19598][SQL]remove the alias parameter in UnresolvedRelation

commit 4023727176b9ea548143d3e03b8b2a524436314c
Author: windpiger <song...@outlook.com>
Date:   2017-02-16T14:20:30Z

    fix a bug

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to