All Products
Search
Document Center

Data Lake Formation:GetTableCompaction

Last Updated:Oct 29, 2025

Retrieves the compaction details of a table.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.