Github user skambha commented on a diff in the pull request:
    --- Diff: 
    @@ -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 
    +      sql("ALTER TABLE partitioned_table ADD PARTITION (c='Us', d=1)")
    +      sql("DESC partitioned_table PARTITION (c='Us', d=1)")
    --- End diff --
    Hive supports describe based on the partition specified and will list the 
details for the particular partition when used with formatted or extended 
    DESCRIBE formatted part_table partition (d='abc')
    @dongjoon-hyun, this might be beyond the scope of this PR but this would be 
useful if there are a lot of partitions and we want to find details for a given 
partition.  What do you think? Thanks.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to