diff options
author | Dilip Biswal <dbiswal@us.ibm.com> | 2016-04-27 09:28:24 +0800 |
---|---|---|
committer | Cheng Lian <lian@databricks.com> | 2016-04-27 09:28:24 +0800 |
commit | d93976d8660b68eeef646d1fe687cfce01f50f9d (patch) | |
tree | e7b6b96ef5abd5972c161033d10112e58483b464 /sql/catalyst/src/test | |
parent | bd2c9a6d48ef6d489c747d9db2642bdef6b1f728 (diff) | |
download | spark-d93976d8660b68eeef646d1fe687cfce01f50f9d.tar.gz spark-d93976d8660b68eeef646d1fe687cfce01f50f9d.tar.bz2 spark-d93976d8660b68eeef646d1fe687cfce01f50f9d.zip |
[SPARK-14445][SQL] Support native execution of SHOW COLUMNS and SHOW PARTITIONS
## What changes were proposed in this pull request?
This PR adds Native execution of SHOW COLUMNS and SHOW PARTITION commands.
Command Syntax:
``` SQL
SHOW COLUMNS (FROM | IN) table_identifier [(FROM | IN) database]
```
``` SQL
SHOW PARTITIONS [db_name.]table_name [PARTITION(partition_spec)]
```
## How was this patch tested?
Added test cases in HiveCommandSuite to verify execution and DDLCommandSuite
to verify plans.
Author: Dilip Biswal <dbiswal@us.ibm.com>
Closes #12222 from dilipbiswal/dkb_show_columns.
Diffstat (limited to 'sql/catalyst/src/test')
0 files changed, 0 insertions, 0 deletions