query LineageEdges {
lineageEdges {
elements {
description
downstream {
catalogAsset {
__typename
}
field
}
id
origin
sqlQuery
tags {
createdAt
id
key
origin
updatedAt
value
}
}
pageInfo {
endCursor
filteredCount
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}{
"data": {
"lineageEdges": {
"elements": [
{
"description": "string",
"downstream": {
"catalogAsset": {
"__typename": "CatalogAsset"
},
"field": "value"
},
"id": "value",
"origin": "DBT",
"sqlQuery": "string",
"tags": [
{
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
]
}
],
"pageInfo": {
"endCursor": "string",
"filteredCount": 1,
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}lineageEdges
Page through every lineage edge in the catalog. An asset edge and a field
edge are separate elements, each with its own id.
Pages follow a stable order, so a full walk sees once each edge that exists
for the whole walk. For an incremental sync, note when a walk starts and
pass that time as updatedSince on the next walk.
updatedSince cannot report a deleted edge, and it can miss a changed one.
dbt and OpenLineage imports replace their edges wholesale. An incremental
sync needs a periodic full walk.
pageInfo.totalCount is an estimate, and it can include edges the query
leaves out. A walk is complete when hasNextPage is false.
Requires LINEAGE_READ permissions.
Is in beta and can be changed without notice.
lineageEdges(filter: LineageEdgesFilter, pagination: PaginationInput): LineageEdgesResult!Arguments
Returns
The counts are computed only when selected. A walk that reads only the
cursor fields does not pay for them. totalCount is an estimate.
filteredCount is exact when a filter is set.
query LineageEdges {
lineageEdges {
elements {
description
downstream {
catalogAsset {
__typename
}
field
}
id
origin
sqlQuery
tags {
createdAt
id
key
origin
updatedAt
value
}
}
pageInfo {
endCursor
filteredCount
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}{
"data": {
"lineageEdges": {
"elements": [
{
"description": "string",
"downstream": {
"catalogAsset": {
"__typename": "CatalogAsset"
},
"field": "value"
},
"id": "value",
"origin": "DBT",
"sqlQuery": "string",
"tags": [
{
"createdAt": "value",
"id": "value",
"key": "string",
"origin": "CATALOG_REFRESH",
"updatedAt": "value",
"value": "string"
}
]
}
],
"pageInfo": {
"endCursor": "string",
"filteredCount": 1,
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}