Updates table metadata.
Operation description
Before you call this operation, make sure that you understand the billing methods and pricing of exclusive resource groups for data transmission and elastic reserved computing resources.
Try it now
Test
RAM authorization
Request syntax
PUT /api/v1/mms/datasources/{sourceId}/tables/{tableId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceId |
integer |
Yes |
The ID of the data source. |
2000015 |
| tableId |
integer |
Yes |
The ID of the table. |
20323 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body parameters. |
|
| dstProjectName |
string |
No |
The name of the destination MaxCompute project. |
dst_project_name |
| dstSchemaName |
string |
No |
The schema of the destination MaxCompute project. |
default |
| dstName |
string |
No |
The name of the destination MaxCompute table. If you do not specify this parameter, the source table name is used. |
dst_table_name |
| status |
string |
No |
The migration status. |
INIT |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The ID of the request. |
EA1320AB-7766-5EC7-B0F6-8B20E2298567 |
| data |
integer |
The ID of the table. |
1 |
Examples
Success response
JSON format
{
"requestId": "EA1320AB-7766-5EC7-B0F6-8B20E2298567",
"data": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.