GitHub user liancheng opened a pull request:

    https://github.com/apache/spark/pull/12703

    [SPARK-14445][SQL] Supports native execution of SHOW COLUMNS and SHOW 
PARTITIONS

    (This PR is mostly a rebased version of PR #12222 by @dilipbiswal with all 
pending PR review comments addressed. Committer who merges this PR please 
attribute it to @dilipbiswal.)
    
    ## 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]
    
    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/liancheng/spark 
spark-14445-show-columns-partitions

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/12703.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 #12703
    
----
commit b0edb3dd09bac2d8c44235f91bc360ffa831e074
Author: Dilip Biswal <[email protected]>
Date:   2016-04-01T17:25:41Z

    [SPARK-14445] Support native execution of SHOW COLUMNS and SHOW PARTITIONS

commit a13db610805f9ec7817370d393a16260bfabd543
Author: Dilip Biswal <[email protected]>
Date:   2016-04-14T22:14:18Z

    Andrew's comments

commit c0985a8a326e6c4af13bad9fb02e7b8f2b2171d8
Author: Dilip Biswal <[email protected]>
Date:   2016-04-15T06:19:20Z

    test fix

commit 6cf6d954a799b9690a7f4a1b4a2a706207ea03e4
Author: Cheng Lian <[email protected]>
Date:   2016-04-26T15:26:08Z

    Fixes issues introduced while rebasing

----


---
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]

Reply via email to