ApplyAutoCluster
Applies the clustering suggestions for a specified analysis batch. Only partitioned tables are supported. You can call GetAutoClusterSuggestion to view the recommended configurations and table modification SQL statements before calling this operation. This operation returns a response after the table modification is successfully executed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:ApplyAutoCluster |
update |
*Project
|
None | None |
Request syntax
PUT /api/v1/projects/{project}/tables/{table}/autoCluster HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the MaxCompute project. |
analytics_prod |
| table |
string |
Yes |
The name of the MaxCompute table. |
order_detail |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| date |
string |
Yes |
The date of the analysis batch used to find the suggestions to be applied. The format is yyyyMMdd. |
20251123 |
| schema |
string |
No |
The name of the schema to which the table belongs. |
sales |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique identifier of the API request. Provide this identifier when troubleshooting issues. |
0be3e0aa16667684362147582e038f |
| httpCode |
integer |
The HTTP status code of the request. |
200 |
| errorCode |
string |
The error code returned when the request fails. |
InvalidArgument |
| errorMsg |
string |
The error message returned when the request fails. |
The specified parameter is invalid. |
| data |
string |
Returns success when the operation is successful. |
success |
Examples
Success response
JSON format
{
"requestId": "0be3e0aa16667684362147582e038f",
"httpCode": 200,
"errorCode": "InvalidArgument",
"errorMsg": "The specified parameter is invalid.",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.