GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/17928
[SPARK-20311][SQL] Support aliases for table value functions
## What changes were proposed in this pull request?
This pr added parsing rules to support aliases in table value functions.
The previous pr (#17666) has been reverted because of the regression. This
new pr fixed the regression and add tests in `SQLQueryTestSuite`.
## How was this patch tested?
Added tests in `PlanParserSuite` and `SQLQueryTestSuite`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark SPARK-20311-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17928.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 #17928
----
commit 47b923b7766c7f8cc9604287d4a88683c8c370b2
Author: Takeshi Yamamuro <[email protected]>
Date: 2017-04-18T00:39:26Z
Support aliases for table value functions
----
---
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]