GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/16674
[SPARK-19331][SQL][TESTS] Improve the test coverage of SQLViewSuite
## What changes were proposed in this pull request?
Improve the test coverage of SQLViewSuite, cover the following cases:
1. view resolution(possibly a referenced table/view have changed after the
view creation);
2. handle a view with user specified column names;
3. improve the test cases for a nested view.
Also added a test case for cyclic view reference, which is a known issue
that is not fixed yet.
## How was this patch tested?
N/A
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark view-test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16674.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 #16674
----
commit 60d927da2395784687e918ae17f7c90d89c7d19e
Author: jiangxingbo <[email protected]>
Date: 2017-01-22T11:48:06Z
update SQLViewSuite
----
---
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]