ListDataLakeTablebaseInfo
Retrieves the basic information about tables in a data lake.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dms:ListDataLakeTablebaseInfo | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
Rows | integer | No | The number of rows on each page for a paged query. | 10 |
Page | integer | No | The page number of the list for a paged query. | 1 |
SearchKey | string | No | The keyword used to search for table names. | test |
DbName | string | Yes | The name of the database where the table is located. | default |
CatalogName | string | Yes | The name of the data catalog. | hive |
Tid | integer | No | The tenant ID. Call the GetUserActiveTenant operation to get the value of this parameter. | 3**** |
WorkspaceId | integer | No | The workspace ID. | 12**** |
Response elements
Element | Type | Description | Example |
object | Schema of Response. | ||
RequestId | string | The request ID. | B43AD641-49C2-5299-9E06-1B37EC1B**** |
Success | boolean | Indicates whether the request was successful. The return values are:
| true |
ErrorCode | string | The error code. | 400 |
ErrorMessage | string | The error message. | Specified parameter Rows is not valid. |
| TablebaseInfoList | array | The list of data lake tables. | |
The basic information of a table. | |||
TotalCount | string | The number of tables that meet the conditions. | 100 |
Examples
Success response
JSON format
{
"RequestId": "B43AD641-49C2-5299-9E06-1B37EC1B****",
"Success": true,
"ErrorCode": "400",
"ErrorMessage": "Specified parameter Rows is not valid.",
"TablebaseInfoList": [
{
"Owner": "test",
"ViewOriginalText": "\"\"\n",
"TableType": "EXTERNAL_TABLE\n",
"Parameters": {
"test": "test",
"test2": 1
},
"Description": "\"table\"\n",
"CreatorId": 0,
"CreateTime": 1608707407,
"LastAccessTime": 1731586286,
"Retention": 30000,
"Name": "100g_customer\n",
"OwnerType": "",
"ViewExpandedText": "\"\"\n",
"DbId": 19,
"DbName": "default",
"CatalogName": "hive",
"PartitionKeys": [
{
"Comment": "from deserializer",
"Type": "string",
"Name": "col"
}
],
"ModifierId": 1731585286,
"Location": "oss://xxx"
}
],
"TotalCount": "100"
}Error codes
See for a complete list.
Release notes
See 变更详情 for a complete list.