Query optimizer configuration
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 |
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 |
GET https://open.volcengineapi.com ?Action=GetOptimizer&Version=2024-04-30&CatalogName=hive&SchemaName=default&TableName=tbl&Type=compaction
{ "ResponseMetadata": { "RequestId": "2026042019233000000000000000000006", "Action": "GetOptimizer", "Version": "2024-04-30", "Service": "las_ai_dev", "Region": "cn-beijing" }, "Result": { "CompactionConfigurations": [] } }
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 | Description |
|---|---|---|
400 | InvalidRequestParam | Invalid request parameter {}, reason {} |
400 | MissingParameter | Missing required parameter {}. |
500 | InternalError | The request failed due to an unknown error. |