Mengkueri Peta Data untuk hubungan alur data antar entitas tertentu, seperti tabel, kolom, dan objek OSS.
Deskripsi operasi
This operation is available in DataWorks Standard Edition and later versions.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:ListLineageRelationships |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SrcEntityId |
string |
Yes |
ID entitas sumber. Anda dapat mengambil ID tabel atau kolom dari tanggapan operasi |
maxcompute-table:::project_name:[schema_name]:table_name |
| DstEntityId |
string |
Yes |
ID entitas tujuan. Anda dapat mengambil ID tabel atau kolom dari tanggapan operasi |
dlf-table::catalog_id:database_name::table_name |
| SrcEntityName |
string |
No |
Nama entitas sumber. Mendukung pencocokan fuzzy. |
srcName |
| DstEntityName |
string |
No |
Nama entitas tujuan. Mendukung pencocokan fuzzy. |
dstName |
| SortBy |
string |
No |
Bidang untuk mengurutkan hasil. Nilai default adalah |
Name |
| Order |
string |
No |
Pesanan. Nilai default adalah
|
Asc |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default adalah 1. |
1 |
| PageSize |
integer |
No |
Ukuran halaman. Nilai default adalah 10. Nilai maksimum adalah 100. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. You can use this ID to troubleshoot issues. |
SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| PagingInfo |
object |
The pagination information. |
|
| TotalCount |
integer |
The total number of entries. |
123 |
| PageNumber |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| LineageRelationships |
array |
An array of data lineage relationships. |
|
|
LineageRelationship |
A data lineage relationship. |
Contoh
Respons sukses
JSONformat
{
"RequestId": "SDFSDFSDF-SDFSDF-SDFDSF-SDFSDF",
"Success": true,
"PagingInfo": {
"TotalCount": 123,
"PageNumber": 1,
"PageSize": 10,
"LineageRelationships": [
{
"SrcEntity": {
"Id": "maxcompute-table:123456::test_project::test_tbl",
"Name": "test_tbl",
"Attributes": {
"key": "key1:value1"
}
},
"DstEntity": {
"Id": "maxcompute-table:123456::test_project::test_tbl",
"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
}
]
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.