GitHub user guoxiaolongzte opened a pull request:

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

    [SPARK-23364][SQL]'desc table' command in spark-sql add column head display

    ## What changes were proposed in this pull request?
    
    Use 'desc partition_table'  command in spark-sql client, i think it should 
add column head display.
    
    Add 'col_name' ‘data_type’ 'comment'  column head display.
    
    fix before:
    
![2](https://user-images.githubusercontent.com/26266482/36013945-283fea8c-0da2-11e8-8265-63d816dabd9b.png)
    
    fix after:
    
![1](https://user-images.githubusercontent.com/26266482/36013954-3252fd7a-0da2-11e8-8e63-3b586f238072.png)
    
    ## How was this patch tested?
    
    manual tests
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.

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

    $ git pull https://github.com/guoxiaolongzte/spark SPARK-23364

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

    https://github.com/apache/spark/pull/20557.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 #20557
    
----
commit 5699c0dc2810a4500f0ee34414b77b80afd0e9c1
Author: guoxiaolong <guo.xiaolong1@...>
Date:   2018-02-09T06:00:40Z

    [SPARK-23364][SQL]'desc table' command in spark-sql add column head display

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to