GitHub user dilipbiswal opened a pull request: https://github.com/apache/spark/pull/12222
[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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dilipbiswal/spark dkb_show_columns Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12222.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 #12222 ---- commit 1ef6b8b3949abad1949e06454dd68a7f8d3a4df1 Author: Dilip Biswal <dbis...@us.ibm.com> Date: 2016-04-01T17:25:41Z [SPARK-14445] Support native execution of SHOW COLUMNS and SHOW PARTITIONS ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org