GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/16262
[SPARK-17932][SQL][FOLLOWUP] Change statement `SHOW TABLES EXTENDED` to
`SHOW TABLE EXTENDED`
## What changes were proposed in this pull request?
Change the statement `SHOW TABLES [EXTENDED] [(IN|FROM) database_name]
[[LIKE] 'identifier_with_wildcards'] [PARTITION(partition_spec)]` to the
following statements:
- SHOW TABLES [(IN|FROM) database_name] [[LIKE] 'identifier_with_wildcards']
- SHOW TABLE EXTENDED [(IN|FROM) database_name] LIKE
'identifier_with_wildcards' [PARTITION(partition_spec)]
After this change, the statements `SHOW TABLE/SHOW TABLES` have the same
syntax with that HIVE has.
## How was this patch tested?
Modified the test sql file `show-tables.sql`;
Modified the test suite `DDLSuite`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark show-table-extended
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/16262.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 #16262
----
commit 0c875c00eeb927a47b7d8eb47c9c0c8f27111d47
Author: jiangxingbo <[email protected]>
Date: 2016-12-13T03:28:13Z
change SHOW TABLES EXTENDED to SHOW TABLE EXTENDED.
----
---
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]