Uh oh!
There was an error while loading. Please reload this page.
[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 [] - #20543
Closed
guoxiaolongzte wants to merge 1 commit into
Conversation
…rtitioned’ display similar to hive, and partition is empty, also need to show empty partition field []
guoxiaolongzte
commented
Feb 13, 2018
Author
@gatorsmile |
jiangxb1987
commented
Feb 13, 2018
Contributor
Personally I don't think it add any value to tell whether a table is partitioned, but I don't feel strong on this. |
guoxiaolongzte
commented
Feb 26, 2018
Author
Oh, I just think it adds to make it clearer. |
AmplabJenkins
commented
Jun 9, 2018
Can one of the admins verify this patch? |
zifeif2 pushed a commit
to zifeif2/spark
that referenced
this pull request
Nov 22, 2025
Closesapache#17422Closesapache#17619Closesapache#18034Closesapache#18229Closesapache#18268Closesapache#17973Closesapache#18125Closesapache#18918Closesapache#19274Closesapache#19456Closesapache#19510Closesapache#19420Closesapache#20090Closesapache#20177Closesapache#20304Closesapache#20319Closesapache#20543Closesapache#20437Closesapache#21261Closesapache#21726Closesapache#14653Closesapache#13143Closesapache#17894Closesapache#19758Closesapache#12951Closesapache#17092Closesapache#21240Closesapache#16910Closesapache#12904Closesapache#21731Closesapache#21095 Added: Closesapache#19233Closesapache#20100Closesapache#21453Closesapache#21455Closesapache#18477 Added: Closesapache#21812Closesapache#21787 Author: hyukjinkwon <gurwls223@apache.org> Closesapache#21781 from HyukjinKwon/closing-prs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
Use 'SHOW TABLE EXTENDED LIKE pattern=STRING' command in spark-sql client,add ‘Partitioned’ display similar to hive, and if the 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.