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:

sparkSQL Non-partitioned table fix before:

sparkSQL partitioned table fix before:

sparkSQL Non-partitioned table fix after:

sparkSQL partitioned table fix after:

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