SHOW PARTITION ID
Descriptionβ
This statement is used to find the corresponding database name, table name, and partition name based on the partition ID.
Syntaxβ
SHOW PARTITION <partition_id>
Required Parametersβ
1. <partition_id>
partition id
Access Control Requirementsβ
The user who executes this SQL must have at least the following permissions:
Privilege | Object | Notes |
---|---|---|
ADMIN_PRIV |
Examplesβ
-
To find the corresponding database name, table name, and partition name based on the partition ID.
SHOW PARTITION 10002;