GitHub user yhuai opened a pull request:
https://github.com/apache/spark/pull/11768
[SPARK-12719][SQL] SQL generation support for Generate
## What changes were proposed in this pull request?
This PR adds SQL generation support for Generate operator. It always
converts Generate operator into LATERAL VIEW format as there are many
limitations to put UDTF in project list.
This PR is based on #11658, please see the last commit to review the real
changes.
Thanks @dilipbiswal for his initial work! Takes over #11596
## How was this patch tested?
new tests in LogicalPlanToSQLSuite
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yhuai/spark generate_1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11768.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 #11768
----
commit 9a6e27dd80dc9a3da089d59d7ec1e5fee77ad5cc
Author: Wenchen Fan <[email protected]>
Date: 2016-03-14T13:26:59Z
sql generation for Generate
----
---
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]