UpdateTableAddColumn
Updates the column information of 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 unique identifier of the MaxCompute table. Format: odps.projectName.tableName. |
odps.engine_name.table_name |
| Column |
array<object> |
Yes |
The list of columns. |
|
|
object |
No |
The column object. |
||
| ColumnNameCn |
string |
No |
The Chinese name of the column. |
中文 |
| ColumnName |
string |
Yes |
The name of the column. |
abc |
| Comment |
string |
No |
The comment of the column. |
Remarks |
| ColumnType |
string |
Yes |
The type of the column. For more information, see the column types supported by MaxCompute. |
string |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
abc |
| TaskInfo |
object |
The information about the request task. After the request task is submitted, it is divided into multiple subtasks that are executed in sequence. The next subtask is executed only after the current subtask succeeds. The request task ends when all subtasks are completed. The request task terminates in the following situations. You must resolve the issue based on the error code and resubmit the request task:
|
|
| Status |
string |
The status of the current subtask. Valid values:
|
success |
| NextTaskId |
string |
The ID of the subtask to be executed next. If this field is empty, all subtasks have been completed. |
abc1 |
| TaskId |
string |
The ID of the current subtask. |
abc2 |
| Content |
string |
The detailed execution 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.