获取数据湖中数据表的详细信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
请求语法
GET /dlf/v1/{catalogId}/databases/{database}/tables/{table} HTTP/1.1
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
catalogId |
string |
是 |
数据目录 ID。 |
clg-paimon-xxxx |
database |
string |
否 |
数据库名称。 |
database_name |
table |
string |
否 |
数据表名称。 |
table_name |
返回参数
名称 |
类型 |
描述 |
示例值 |
Table |
数据表。 |
示例
正常返回示例
JSON
格式
{
"id": "",
"name": "",
"path": "",
"isExternal": true,
"schemaId": 0,
"schema": {
"primaryKeys": [
""
],
"options": {
"key": ""
},
"comment": "",
"partitionKeys": [
""
],
"fields": [
{
"name": "",
"description": "",
"id": 0,
"type": {
"type": "",
"fields": [
{
"name": "",
"description": "",
"id": 0,
"type": {
"type": "",
"fields": [
{
"name": "",
"description": "",
"id": 0,
"type": {
"type": "",
"fields": []
}
}
]
}
}
]
}
}
]
},
"owner": "",
"createdAt": 0,
"createdBy": "",
"updatedAt": 0,
"updatedBy": "",
"storageClass": "",
"storageAction": "",
"storageActionTimestamp": 0
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?