Updates table metadata.
Operation description
Before you call this API, make sure that you understand the billing methods and pricing for Data Transmission Service exclusive resource groups and elastic reserved computing resources.
Try it now
Test
RAM authorization
Request syntax
PUT /api/v1/mms/datasources/{sourceId}/tables HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| sourceId |
integer |
Yes |
The ID of the data source. |
2000014 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| tables |
array |
No |
This parameter is deprecated. |
|
|
integer |
No |
This parameter is deprecated. |
123 |
|
| dbName |
string |
No |
The name of the database that contains the source tables to be updated. |
default |
| tableNames |
array |
No |
The list of source tables to be updated. |
|
|
string |
No |
The name of the source table. |
table1 |
|
| dstProjectName |
string |
No |
The destination MaxCompute project. |
pj |
| dstSchemaName |
string |
No |
The destination MaxCompute schema. |
default |
| status |
string |
No |
The migration status. |
INIT |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| requestId |
string |
The request ID. |
5CA6292A-E301-5CD8-B4E2-AF060F99147B |
| data |
integer |
The returned result. |
88 |
Examples
Success response
JSON format
{
"requestId": "5CA6292A-E301-5CD8-B4E2-AF060F99147B",
"data": 88
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.