Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15168#discussion_r79717996
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala 
---
    @@ -341,6 +342,25 @@ class SQLQuerySuite extends QueryTest with 
SQLTestUtils with TestHiveSingleton {
         }
       }
     
    +  test("describe partition") {
    +    withTable("partitioned_table") {
    +      sql("CREATE TABLE partitioned_table (a STRING, b INT) PARTITIONED BY 
(c STRING, d STRING)")
    +      sql("ALTER TABLE partitioned_table ADD PARTITION (c='Us', d=1)")
    +
    +      sql("DESC partitioned_table PARTITION (c='Us', d=1)")
    --- End diff --
    
    Actually, as you see in the PR description, the output result is the same 
with the `DESC` command with `PARTITION` spec.  In other words, the output does 
not depend on the given spec. Only, this command raises exceptions if the given 
partition does not exists.
    
    > the output result points out the partition columns correctly.


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

Reply via email to