Skip to content
Snippets Groups Projects
Commit d93976d8 authored by Dilip Biswal's avatar Dilip Biswal Committed by Cheng Lian
Browse files

[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.
parent bd2c9a6d
No related branches found
No related tags found
No related merge requests found
Showing
with 401 additions and 31 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment