UpdateDataLakeTable
Updates the information of a data lake table.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dms:UpdateDataLakeTable | update | *All Resource
| None | None |
Request syntax
POST HTTP/1.1Request parameters
Parameter | Type | Required | Description | Example |
CatalogName | string | Yes | The name of the data catalog. | hive |
DbName | string | Yes | The name of the database. | default |
TableInput | Yes | The information about the table. | ||
Tid | integer | No | The tenant ID. Note Hover over your profile picture in the upper-right corner of the DMS console to obtain the tenant ID. For details, see View tenant information. | 3**** |
TableName | string | No | The name of the table to update. If you do not want to change the table name, set this parameter to the same value as the Name parameter in TableInput. | 100g_customer |
WorkspaceId | integer | No | The workspace ID. | 12**** |
Response elements
Element | Type | Description | Example |
object | Schema of Response. | ||
RequestId | string | The request ID, used for log tracing and troubleshooting. | C5B8E84B-42B6-4374-AD5A-6264E175**** |
ErrorCode | string | The error code returned if the request fails. | UnknownError |
ErrorMessage | string | The error message returned if the request fails. | UnknownError |
Success | boolean | Indicates whether the request was successful. Valid values:
| true |
Table | The details of the table. |
Examples
Success response
JSON format
{
"RequestId": "C5B8E84B-42B6-4374-AD5A-6264E175****",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Table": {
"ViewOriginalText": "",
"Owner": "",
"TableType": "",
"Parameters": {
"test": "test",
"test2": 1
},
"Description": "",
"CreatorId": 0,
"CreateTime": 0,
"StorageDescriptor": {
"OriginalColumns": [
{
"Comment": "",
"Type": "",
"Name": ""
}
],
"SortCols": [
{
"Order": 0,
"Col": ""
}
],
"Parameters": {
"test": "test",
"test2": 1
},
"SkewedInfo": {
"SkewedColValues": [
[
""
]
],
"SkewedColValueLocationMaps": {
"test": "test",
"test2": 1
},
"SkewedColNames": [
""
]
},
"InputFormat": "",
"OutputFormat": "",
"Columns": [
{
"Comment": "",
"Type": "",
"Name": ""
}
],
"IsCompressed": true,
"SerdeInfo": {
"SerializationLib": "",
"DeserializerClass": "",
"Parameters": {
"test": "test",
"test2": 1
},
"Description": "",
"SerdeType": 0,
"SerializerClass": "",
"Name": ""
},
"BucketCols": [
""
],
"NumBuckets": 0,
"Location": ""
},
"LastAccessTime": 0,
"Retention": 0,
"Name": "",
"OwnerType": "",
"ViewExpandedText": "",
"DbId": 0,
"DbName": "",
"CatalogName": "",
"PartitionKeys": [
{
"Comment": "",
"Type": "",
"Name": ""
}
],
"ModifierId": 0,
"Location": ""
}
}Error codes
See for a complete list.
Release notes
See 变更详情 for a complete list.