{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/20543","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/20543/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/20543/comments","events_url":"https://api.github.com/repos/apache/spark/issues/20543/events","html_url":"https://github.com/apache/spark/pull/20543","id":295455705,"number":20543,"title":"[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 []","user":{"login":"guoxiaolongzte","id":26266482,"avatar_url":"https://avatars2.githubusercontent.com/u/26266482?v=4","gravatar_id":"","url":"https://api.github.com/users/guoxiaolongzte","html_url":"https://github.com/guoxiaolongzte","followers_url":"https://api.github.com/users/guoxiaolongzte/followers","following_url":"https://api.github.com/users/guoxiaolongzte/following{/other_user}","gists_url":"https://api.github.com/users/guoxiaolongzte/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiaolongzte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiaolongzte/subscriptions","organizations_url":"https://api.github.com/users/guoxiaolongzte/orgs","repos_url":"https://api.github.com/users/guoxiaolongzte/repos","events_url":"https://api.github.com/users/guoxiaolongzte/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiaolongzte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-08T10:18:18Z","updated_at":"2018-02-13T01:40:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/20543","html_url":"https://github.com/apache/spark/pull/20543","diff_url":"https://github.com/apache/spark/pull/20543.diff","patch_url":"https://github.com/apache/spark/pull/20543.patch"},"body":"## What changes were proposed in this pull request?\r\nUse '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 []\r\n\r\nhive:\r\n![3](https://user-images.githubusercontent.com/26266482/35967523-12a15c70-0cfc-11e8-88ce-36b2595c1512.png)\r\n\r\n\r\nsparkSQL Non-partitioned table fix before:\r\n![1](https://user-images.githubusercontent.com/26266482/35967561-32098ede-0cfc-11e8-8382-57ae4857556b.png)\r\n\r\n\r\nsparkSQL partitioned table fix before:\r\n![2](https://user-images.githubusercontent.com/26266482/35967572-3e4f1150-0cfc-11e8-9956-5007ccb50761.png)\r\n\r\n\r\nsparkSQL Non-partitioned table fix after:\r\n![4](https://user-images.githubusercontent.com/26266482/35967586-493376b0-0cfc-11e8-8652-0618912bd63f.png)\r\n\r\n\r\nsparkSQL partitioned table fix after:\r\n![5](https://user-images.githubusercontent.com/26266482/35967602-52474588-0cfc-11e8-9b34-7532c6abae00.png)\r\n\r\n\r\n## How was this patch tested?\r\n\r\nmanual tests\r\n\r\nPlease review http://spark.apache.org/contributing.html before opening a pull request."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/365123249","html_url":"https://github.com/apache/spark/pull/20543#issuecomment-365123249","issue_url":"https://api.github.com/repos/apache/spark/issues/20543","id":365123249,"user":{"login":"guoxiaolongzte","id":26266482,"avatar_url":"https://avatars2.githubusercontent.com/u/26266482?v=4","gravatar_id":"","url":"https://api.github.com/users/guoxiaolongzte","html_url":"https://github.com/guoxiaolongzte","followers_url":"https://api.github.com/users/guoxiaolongzte/followers","following_url":"https://api.github.com/users/guoxiaolongzte/following{/other_user}","gists_url":"https://api.github.com/users/guoxiaolongzte/gists{/gist_id}","starred_url":"https://api.github.com/users/guoxiaolongzte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guoxiaolongzte/subscriptions","organizations_url":"https://api.github.com/users/guoxiaolongzte/orgs","repos_url":"https://api.github.com/users/guoxiaolongzte/repos","events_url":"https://api.github.com/users/guoxiaolongzte/events{/privacy}","received_events_url":"https://api.github.com/users/guoxiaolongzte/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T01:40:53Z","updated_at":"2018-02-13T01:40:53Z","author_association":"CONTRIBUTOR","body":"@gatorsmile \r\nHelp to review the code."}}
{"actor":{"display_login":"guoxiaolongzte"}}