Gabe Lyons 851e00ba9f
feat(lineage): implement support for datasets, charts and dashboards downstream lineage fetching in a generic way (#2397)
Co-authored-by: Dexter Lee <dexter@acryl.io>
Co-authored-by: Brian <brianwebtek@gmail.com>
Co-authored-by: John Joyce <john@acryl.io>
Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
2021-04-23 00:18:39 -07:00

93 lines
2.1 KiB
GraphQL

query getBrowsePaths($input: BrowsePathsInput!) {
browsePaths(input: $input) {
path
}
}
query getBrowseResults($input: BrowseInput!) {
browse(input: $input) {
entities {
urn
type
... on Dataset {
name
origin
description
platform {
name
info {
logoUrl
}
}
tags
ownership {
...ownershipFields
}
}
... on Dashboard {
urn
type
tool
dashboardId
info {
name
description
externalUrl
access
lastModified {
time
}
}
ownership {
...ownershipFields
}
}
... on Chart {
urn
type
tool
chartId
info {
name
description
externalUrl
type
access
lastModified {
time
}
}
ownership {
...ownershipFields
}
}
... on DataFlow {
urn
type
orchestrator
flowId
cluster
info {
name
description
project
}
ownership {
...ownershipFields
}
}
}
start
count
total
metadata {
path
groups {
name
count
}
totalNumEntities
}
}
}