mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-28 20:09:59 +00:00

Co-authored-by: Raj Tekal <rtekal@gmail.com> Co-authored-by: Raj Tekal <rtekal@users.noreply.github.com> Co-authored-by: Raj Tekal <varadaraj_tekal@optum.com> Co-authored-by: Chris Collins <chriscollins3456@gmail.com>
45 lines
927 B
GraphQL
45 lines
927 B
GraphQL
fragment fullRelationshipResults on EntityRelationshipsResult {
|
|
start
|
|
count
|
|
total
|
|
relationships {
|
|
type
|
|
direction
|
|
entity {
|
|
...relationshipFields
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment leafRelationshipResults on EntityRelationshipsResult {
|
|
start
|
|
count
|
|
total
|
|
relationships {
|
|
type
|
|
entity {
|
|
urn
|
|
type
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment relationshipFields on EntityWithRelationships {
|
|
...lineageNodeProperties
|
|
... on Dataset {
|
|
siblings {
|
|
isPrimary
|
|
siblings {
|
|
urn
|
|
type
|
|
...lineageNodeProperties
|
|
}
|
|
}
|
|
}
|
|
upstream: lineage(input: { direction: UPSTREAM, start: 0, count: 100 }) {
|
|
...leafLineageResults
|
|
}
|
|
downstream: lineage(input: { direction: DOWNSTREAM, start: 0, count: 100 }) {
|
|
...leafLineageResults
|
|
}
|
|
} |