tencent cloud

All product documents
Data Lake Compute
SHOW PARTITIONS
Last updated: 2024-08-07 17:16:15
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');



Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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

7x24 Phone Support