You need to enable JavaScript to run this app.
Lake AI Service

Lake AI Service

Copy page
Download PDF
Storage Optimization
GetOptimizer - Query optimizer configuration
Copy page
Download PDF
GetOptimizer - Query optimizer configuration

Query optimizer configuration

Debug

Request parameters

The table below lists only the unique request parameters for this interface and some of the common parameters. For more information, see Common parameters.

Parameter
Type
Required?
Example
Description
Action
String
Yes

GetOptimizer

Operation to perform. Value: GetOptimizer.

Version
String
Yes

2024-04-30

API version. Value: 2024-04-30.

OptimizerLevel
String
Yes

TABLE

Optimizer level

CatalogName
String
Yes

hive

Catalog name

SchemaName
String
No

default

Schema/DB name

TableName
String
No

tbl

Table name

Type
String
Yes

COMPACTION

Optimization type

Response parameters

The table below lists only the unique response parameters for this interface. For more information, see Response structure.

Parameter
Type
Example
Description
CompactionConfigurations
Array of Object

{}

Compaction configuration

SnapshotRetentionConfigurations
Array of Object

{}

Snapshot retention configuration

PartitionRetentionConfigurations
Array of Object

{}

Partition retention configuration

OrphanFileDeletionConfigurations
Array of Object

{}

Orphan file cleanup configuration

Request example

GET https://open.volcengineapi.com 
?Action=GetOptimizer&Version=2024-04-30&CatalogName=hive&SchemaName=default&TableName=tbl&Type=compaction

Response example

{ 
  "ResponseMetadata": { 
    "RequestId": "2026042019233000000000000000000006", 
    "Action": "GetOptimizer", 
    "Version": "2024-04-30", 
    "Service": "las_ai_dev", 
    "Region": "cn-beijing" 
  }, 
  "Result": { 
    "CompactionConfigurations": [] 
  } 
}

Error codes

The table below lists the error codes related to the business logic of this interface. For common error codes, see the Common error codes documentation.

Status code
Error code
Error message
Description
400
InvalidRequestParam

Invalid request param {}, cause {}

Invalid request parameter {}, reason {}

400
MissingParameter

The required parameter {} is missing.

Missing required parameter {}.

500
InternalError

The request has failed due to an unknown error.

The request failed due to an unknown error.

Last updated: 2026.05.18 20:10:08