GitHub user u0jing opened a pull request:

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

    [SPARK-3118][SQL]add "SHOW TBLPROPERTIES tblname;" and "SHOW COLUMNS 
(FROM|IN) table_name [(FROM|IN) db_name]" support

    JIRA issue: [SPARK-3118] https://issues.apache.org/jira/browse/SPARK-3118
    
    eg:
    > SHOW TBLPROPERTIES test;
    SHOW TBLPROPERTIES test;     
    numPartitions       0
    numFiles    1
    transient_lastDdlTime       1407923642
    numRows     0
    totalSize   82
    rawDataSize 0
    
    eg:
    > SHOW COLUMNS  in test;
    SHOW COLUMNS  in test;
    OK
    Time taken: 0.304 seconds
    id                  
    stid                
    bo            

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/u0jing/spark spark-3118

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

    https://github.com/apache/spark/pull/2034.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 #2034
    
----
commit 35f4885f5d2a34d2c37a60a83e31a2edcc655371
Author: u0jing <[email protected]>
Date:   2014-08-19T15:05:48Z

    add 'show columns' and 'show tblproperties' support

----


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