GitHub user zheyuan28 opened a pull request:
https://github.com/apache/spark/pull/22458
add viewOriginalText back to CatalogTable
## What changes were proposed in this pull request?
The `show create table` will show a lot of generated attributes for views
that created by older Spark version. This PR will basically revert
https://issues.apache.org/jira/browse/SPARK-19272 back, so when you `DESC
[FORMATTED|EXTENDED] view` will show the original view DDL text.
## How was this patch tested?
Unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zheyuan28/spark-1 testbranch
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22458.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 #22458
----
commit 9f8b889cade55fbc8ee4068413e319f97739a939
Author: Chris Zhao <chris.zhao@...>
Date: 2018-09-18T23:34:57Z
add viewOriginalText back to CatalogTable
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]