Queries the information about a lineage in Data Map.
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:GetLineageRelationship |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The lineage ID. You can refer to the return result of the ListLineageRelationships operation. |
4as3dasf654a |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
58D5334A-B013-430E |
| LineageRelationship |
LineageRelationship |
The lineage structure. |
Examples
Success response
JSON format
{
"RequestId": "58D5334A-B013-430E",
"LineageRelationship": {
"SrcEntity": {
"Id": "maxcompute-table:123456XXX::test_project::test_tbl\ndlf-table:123456XXX:test_catalog:test_db::test_tbl\nhms-table:c-abc123xxx::test_db::test_tbl\nholo-table:h-abc123xxx::test_db:test_schema:test_tbl\ncustom-api:api123\ncustom-table:table456",
"Name": "test_tbl",
"Attributes": {
"key": "key1:value1"
}
},
"DstEntity": {
"Id": "maxcompute-table:123456XXX::test_project::test_tbl\ndlf-table:123456XXX:test_catalog:test_db::test_tbl\nhms-table:c-abc123xxx::test_db::test_tbl\nholo-table:h-abc123xxx::test_db:test_schema:test_tbl\ncustom-api:api123\ncustom-table:table456",
"Name": "test_tbl",
"Attributes": {
"key": "key1:value1"
}
},
"Task": {
"Id": "12345",
"Type": "custom-sql",
"Attributes": {
"key": "key1:value21"
}
},
"Id": "maxcompute-table.p.table:custom-table.xxx:custom-sql.123",
"CreateTime": 1743040581000
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.