tencent cloud

Feedback

SHOW PARTITIONS

Last updated: 2024-08-07 17:16:15
    List all partitions in the table.

    Statement

    SHOW PARTITIONS [db_name.]table_name [PARTITION(partition_spec)];

    Parameter

    TABLE [db_name.]table_name: Table name.
    [PARTITION(partition_spec)]: Partition columns. Multiple partition column conditions are allowed.

    Example

    SHOW PARTITIONS db01.table PARTITION(ds='2010-03-03', hr='12');
    
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support