Updates the fields in a MaxCompute table.
This API has been deprecated with no replacement. While temporary access is maintained, no further updates or bug fixes will be provided. To ensure continued functionality, plan your migration and contact your account manager for support.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TableGuid |
string |
Yes |
The globally unique identifier (GUID) of the MaxCompute table. Specify the GUID in the odps.projectName.tableName format. |
odps.engine_name.table_name |
| Column |
array<object> |
Yes |
The fields. |
|
|
object |
No |
The field. |
||
| ColumnNameCn |
string |
No |
The display name of the field. |
Chinese |
| ColumnName |
string |
Yes |
The name of the field. |
abc |
| Comment |
string |
No |
The comment of the field. |
Remarks |
| ColumnType |
string |
Yes |
The type of the field. For more information, see MaxCompute field types. |
string |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
abc |
| TaskInfo |
object |
The information about the request task. After a request task is submitted, it is divided into multiple subtasks that are run in sequence. After the current subtask is complete, the next subtask starts to run. After all subtasks are complete, the request task is complete. If a request task is aborted due to one of the following issues, address the issue based on the error code and initiate the request task again:
|
|
| Status |
string |
The status of the current subtask. Valid values:
|
success |
| NextTaskId |
string |
The ID of the subtask that you want to run. If this parameter is left empty, all subtasks are complete. |
abc1 |
| TaskId |
string |
The ID of the current subtask. |
abc2 |
| Content |
string |
The details about the status of the current subtask.
|
success |
Examples
Success response
JSON format
{
"RequestId": "abc",
"TaskInfo": {
"Status": "success",
"NextTaskId": "abc1",
"TaskId": "abc2",
"Content": "success"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.