Skip to content

Commit 82bb05c

Browse files
committed
refactor: remove table optimize and vacuum features
No backends support optimize or require vacuum (both methods always returned false), making the entire feature dead code.
1 parent b70db64 commit 82bb05c

1 file changed

Lines changed: 0 additions & 45 deletions

File tree

apiary.apib

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -3835,51 +3835,6 @@ Use the optional `force` parameter to delete its aliases too.
38353835
38363836
38373837
3838-
## Table Optimize [/v2/storage/tables/{table_id}/optimize]
3839-
3840-
### Optimize table [POST]
3841-
This is a utility command implemented only for projects with the Redshift backend.
3842-
Redshift tables with a lot of small-increment loads bloat in size. An optimize command is automatically scheduled to fix
3843-
this issue. This API call can be used to trigger immediate optimization of a table.
3844-
3845-
+ Parameters
3846-
+ table_id (required) - Table Id
3847-
3848-
+ Request
3849-
+ Headers
3850-
3851-
X-StorageApi-Token: your_token
3852-
3853-
+ Response 200 (application/json)
3854-
3855-
{
3856-
"id": 245,
3857-
"status": "waiting",
3858-
"url": "/v2/storage/jobs/245",
3859-
"tableId": "in.c-API-tests.MyLanguages_test",
3860-
"operationName": "tableOptimize",
3861-
"operationParams": {
3862-
"queue": "main_fast"
3863-
},
3864-
"createdTime": "2016-10-17T10:31:52+0200",
3865-
"startTime": null,
3866-
"endTime": null,
3867-
"runId": null,
3868-
"results": null,
3869-
"creatorToken": {
3870-
"id": "31",
3871-
"description": "dev@keboola.com"
3872-
},
3873-
"metrics": {
3874-
"inCompressed": false,
3875-
"inBytes": 0,
3876-
"inBytesUncompressed": 0,
3877-
"outCompressed": false,
3878-
"outBytes": 0,
3879-
"outBytesUncompressed": 0
3880-
}
3881-
}
3882-
38833838
38843839
## List Tables [/v2/storage/tables?include={include}]
38853840

0 commit comments

Comments
 (0)