Lists partitions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:ListPartitions |
get |
*All Resource
|
None | None |
Request syntax
GET /dlf/v1/{catalogId}/databases/{database}/tables/{table}/partitions HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| catalogId |
string |
No |
The ID of the catalog. |
clg-paimon-xxx |
| database |
string |
No |
The name of the database. |
database_name |
| table |
string |
No |
The name of the table. |
table_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| maxResults |
integer |
No |
The maximum number of records to return in a single request. |
1000 |
| pageToken |
string |
No |
The pagination token used to retrieve the next page of results. If the response does not include this token, pass an empty string (""). |
"" |
| partitionNamePattern |
string |
No |
The partition name pattern. |
partition |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| partitions |
array |
The partitions. |
|
| Partition |
The partition details. |
||
| nextPageToken |
string |
The pagination token that is used to retrieve the next page of results. |
E8ABEB1C3DB893D16576269017992F57 |
Examples
Success response
JSON format
{
"partitions": [
{
"lastFileCreationTime": 1741701564261,
"recordCount": 1,
"fileSizeInBytes": 1,
"fileCount": 1,
"done": true,
"spec": {
"year": "2025"
},
"createdAt": 1747120676378,
"createdBy": "acs:ram::[accountId]:root",
"updatedAt": 1744970111419,
"updatedBy": "acs:ram::[accountId]:root",
"storageClass": "STANDARD",
"storageAction": "COMPLETE",
"storageActionTimestamp": 1758189669915,
"totalBuckets": 0
}
],
"nextPageToken": "E8ABEB1C3DB893D16576269017992F57"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.