GitHub user guoxiaolongzte opened a pull request:

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

    [SPARK-23357][CORE] 'SHOW TABLE EXTENDED LIKE pattern=STRING' add 
‘Partitioned’ display similar to hive, and partition is empty, also need to 
show empty partition field []

    ## What changes were proposed in this pull request?
    'SHOW TABLE EXTENDED LIKE pattern=STRING' add ‘Partitioned’ display 
similar to hive, and partition is empty, also need to show empty partition 
field []
    
    hive:
    
![3](https://user-images.githubusercontent.com/26266482/35967523-12a15c70-0cfc-11e8-88ce-36b2595c1512.png)
    
    
    sparkSQL Non-partitioned table fix before:
    
![1](https://user-images.githubusercontent.com/26266482/35967561-32098ede-0cfc-11e8-8382-57ae4857556b.png)
    
    
    sparkSQL partitioned table fix before:
    
![2](https://user-images.githubusercontent.com/26266482/35967572-3e4f1150-0cfc-11e8-9956-5007ccb50761.png)
    
    
    sparkSQL Non-partitioned table fix after:
    
![4](https://user-images.githubusercontent.com/26266482/35967586-493376b0-0cfc-11e8-8652-0618912bd63f.png)
    
    
    sparkSQL partitioned table fix after:
    
![5](https://user-images.githubusercontent.com/26266482/35967602-52474588-0cfc-11e8-9b34-7532c6abae00.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-23357

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

    https://github.com/apache/spark/pull/20543.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 #20543
    
----
commit 073542d7199acddfbb122d28ab5110f638c2ec82
Author: guoxiaolong <guo.xiaolong1@...>
Date:   2018-02-08T10:12:22Z

    [SPARK-23357][CORE] 'SHOW TABLE EXTENDED LIKE pattern=STRING' add 
‘Partitioned’ display similar to hive, and partition is empty, also need to 
show empty partition field []

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to