Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/16373#discussion_r105826784 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala --- @@ -925,6 +925,26 @@ class DDLSuite extends QueryTest with SharedSQLContext with BeforeAndAfterEach { } } + test("show table extended ... partition") { --- End diff -- If we change `hiveResultString` to ``` case command @ ExecutedCommandExec(s: ShowTablesCommand) if !s.isExtended => command.executeCollect().map(_.getString(1)) ``` I did a try. It works. Below is the output. ``` -- !query 22 SHOW TABLE EXTENDED LIKE 'show_t1' PARTITION(c='Ch', d=1) -- !query 22 schema struct<database:string,tableName:string,isTemporary:boolean,information:string> -- !query 22 output showdb show_t1 false CatalogPartition( Partition Values: [c=Ch, d=1] Storage(Location: file:/Users/xiao/IdeaProjects/sparkDelivery/sql/core/spark-warehouse/showdb.db/show_t1/c=Ch/d=1) Partition Parameters:{}) ```
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org