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

132 lines
2.9 KiB
GraphQL

query getChart($urn: String!) {
chart(urn: $urn) {
urn
type
tool
chartId
info {
name
description
inputs {
urn
name
origin
description
platform {
name
info {
logoUrl
}
}
platformNativeType
tags
ownership {
...ownershipFields
}
downstreamLineage {
...downstreamRelationshipFields
}
upstreamLineage {
...upstreamRelationshipFields
}
}
externalUrl
type
access
lastRefreshed
lastModified {
time
}
created {
time
}
customProperties {
key
value
}
}
query {
rawQuery
type
}
ownership {
...ownershipFields
}
globalTags {
...globalTagsFields
}
downstreamLineage {
...downstreamRelationshipFields
}
upstreamLineage {
...upstreamRelationshipFields
}
}
}
mutation updateChart($input: ChartUpdateInput!) {
updateChart(input: $input) {
urn
type
tool
chartId
info {
name
description
inputs {
urn
name
origin
description
platform {
name
info {
logoUrl
}
}
platformNativeType
tags
ownership {
...ownershipFields
}
downstreamLineage {
...downstreamRelationshipFields
}
upstreamLineage {
...upstreamRelationshipFields
}
}
externalUrl
type
access
lastRefreshed
lastModified {
time
}
created {
time
}
customProperties {
key
value
}
}
query {
rawQuery
type
}
ownership {
...ownershipFields
}
globalTags {
...globalTagsFields
}
downstreamLineage {
...downstreamRelationshipFields
}
upstreamLineage {
...upstreamRelationshipFields
}
}
}