UpdateTableModelInfo
Updates the theme, hierarchy, and physical classification of a table.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FirstLevelThemeId |
integer |
No |
The ID of the first-level theme. When you call this operation, you must specify at least one of the following parameters: FirstLevelThemeId, SecondLevelThemeId, LevelId, or LevelType for the update to take effect. If you specify only TableGuid, the operation may return a success response without updating any data. |
101 |
| SecondLevelThemeId |
integer |
No |
The ID of the second-level theme. |
101 |
| LevelId |
integer |
No |
The hierarchy ID. |
101 |
| TableGuid |
string |
Yes |
The unique identifier of the table. The format is odps.{projectName}.{tableName}. |
odps.test.table1 |
| LevelType |
integer |
No |
The hierarchy type. Valid values: 1 (logical hierarchy) and 2 (physical hierarchy). |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| UpdateResult |
boolean |
Indicates whether the table was updated successfully. |
true |
| RequestId |
string |
The ID of the request. |
abcde |
Examples
Success response
JSON format
{
"UpdateResult": true,
"RequestId": "abcde"
}
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.