Retrieves the schema details of a specified table in Data Map. Only MaxCompute and Hologres schemas are supported.
Operation description
-
DataWorks Basic Edition or a higher edition is required.
-
Only MaxCompute and Hologres types are supported.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The ID. You can refer to the ListSchemas operation and Concepts related to metadata entities. The format is Note
For the MaxCompute type, use an empty string as the placeholder for the instance ID level. The database name is the MaxCompute project name, and the project must have the three-level model enabled. Examples:
Note
|
maxcompute-schema:::project_name:schema_name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
A89B5D9D-74EA-XXXXXX |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Schema | Schema |
The schema information. |
Examples
Success response
JSON format
{
"RequestId": "A89B5D9D-74EA-XXXXXX",
"Success": true,
"Schema": {
"Id": "maxcompute-schema:123456XXX::test_project:default\nholo-schema:h-abc123xxx::test_db:test_schema",
"Name": "test_db",
"Comment": "test comment",
"Type": "MANAGED",
"ParentMetaEntityId": "maxcompute-project:123456XXX::test_project\nholo-database:h-abc123xxx::test_db",
"CreateTime": 1736852168000,
"ModifyTime": 1736852168000
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.