Retrieves storage overview for partitions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:ListPartitionSummaries |
get |
*All Resource
|
None | None |
Request syntax
GET /dlf/v1/{catalogId}/databases/{database}/tables/{table}/partitions/storage-summary HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| catalogId |
string |
Yes |
The catalog ID. |
clg-paimon-xxxx |
| database |
string |
Yes |
The database name. |
default |
| table |
string |
Yes |
The table name. |
table1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| maxResults |
integer |
No |
The number of entries to return on each page. |
100 |
| pageToken |
string |
No |
The token for the next page of results. If the response does not include this token, pass an empty string (""). |
"" |
| partitionNamePattern |
string |
No |
The partition name pattern. |
hh=10 |
Response elements
|
Element |
Type |
Description |
Example |
| PartitionSummaries |
The storage overview for partitions. |
Examples
Success response
JSON format
{
"partitions": [
{
"databaseName": "default",
"tableName": "table1",
"partitionName": "hh=18",
"createdAt": 1744970111419,
"totalFileSizeInBytes": 2048,
"totalFileCount": 2,
"lastAccessTime": 1744970111419,
"updatedAt": 1744970111419,
"storageClass": "",
"storageActionTimestamp": 0,
"storageActionParams": {
"key": ""
}
}
],
"nextPageToken": "hh=10"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.