Queries the information about a catalog in Data Map. Only catalogs of the Data Lake Formation (DLF) and StarRocks metadata crawlers are supported.
Operation description
-
DataWorks Basic Edition or a higher edition is required.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetCatalog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The catalog entity ID. Currently supports dlf and starrocks types. You can refer to the results returned by the ListCatalogs operation and the Concepts related to metadata entities.
Note
|
dlf-catalog::catalog_id |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Responses. |
||
| RequestId |
string |
The request ID. |
1AFAE64E-D1BE-432B-A9**** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Catalog | Catalog |
Catalog information. |
Examples
Success response
JSON format
{
"RequestId": "1AFAE64E-D1BE-432B-A9****",
"Success": true,
"Catalog": {
"Id": "dlf-catalog:123456XXX:test_catalog\nstarrocks-catalog:c-abc123xxx:default_catalog",
"Name": "default_catalog",
"Comment": "this is a comment\n",
"Type": "Internal",
"CreateTime": 1722073854000,
"ModifyTime": 1722073854000,
"ParentMetaEntityId": "dlf\nstarrocks:c-abc123xxx"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.