GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/16679
[SPARK-19272][SQL] Remove the param `viewOriginalText` from `CatalogTable`
## What changes were proposed in this pull request?
Hive will expand the view text, so it needs 2 fields: originalText and
viewText. Since we don't expand the view text, but only add table properties,
perhaps only a single field `viewText` is enough in CatalogTable.
This PR brought in the following changes:
1. Remove the param `viewOriginalText` from `CatalogTable`;
2. Update the output of command `DescribeTableCommand`.
## How was this patch tested?
Tested by exsiting test cases, also updated the failed test cases.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark catalogTable
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16679.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 #16679
----
commit 7be047715dd82b56ca70ef9292a75e4457849747
Author: jiangxingbo <[email protected]>
Date: 2017-01-23T09:10:59Z
Remove viewOriginalText from CatalogTable.
----
---
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]