Retrieves the compaction details of a table.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:GetTableCompaction |
get |
*All Resource
|
None | None |
Request syntax
GET /dlf/v1/{catalogId}/databases/{database}/tables/{table}/compaction 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. |
database_name |
| table |
string |
Yes |
The table name. |
table_name |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
| TableCompaction |
The compaction information of the table. |
Examples
Success response
JSON format
{
"catalogId": "clg-paimon-xxx",
"tableId": "tbl-xxx",
"lastCompactedFileTime": 1759111660075,
"cuUsage": 1,
"maxLevel0FileCount": "1",
"latencyFileEarliestTime": 1760321763633
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.