2021-04-21 12:06:31 -07:00
|
|
|
query getDataJob($urn: String!) {
|
|
|
|
dataJob(urn: $urn) {
|
2021-04-23 00:18:39 -07:00
|
|
|
...dataJobFields
|
2021-09-28 10:30:37 -07:00
|
|
|
parentFlow: relationships(input: { types: ["IsPartOf"], direction: OUTGOING, start: 0, count: 1 }) {
|
2021-10-22 15:46:46 -07:00
|
|
|
...fullRelationshipResults
|
|
|
|
}
|
|
|
|
incoming: relationships(
|
|
|
|
input: {
|
|
|
|
types: ["DownstreamOf", "Consumes", "Produces", "TrainedBy"]
|
|
|
|
direction: INCOMING
|
|
|
|
start: 0
|
|
|
|
count: 100
|
2021-09-28 10:30:37 -07:00
|
|
|
}
|
2021-10-22 15:46:46 -07:00
|
|
|
) {
|
|
|
|
...fullRelationshipResults
|
|
|
|
}
|
|
|
|
outgoing: relationships(
|
|
|
|
input: { types: ["DownstreamOf", "Consumes", "Produces"], direction: OUTGOING, start: 0, count: 100 }
|
|
|
|
) {
|
|
|
|
...fullRelationshipResults
|
2021-09-28 10:30:37 -07:00
|
|
|
}
|
2022-03-04 16:10:25 -08:00
|
|
|
upstream: lineage(input: { direction: UPSTREAM, start: 0, count: 100 }) {
|
|
|
|
...fullLineageResults
|
|
|
|
}
|
|
|
|
downstream: lineage(input: { direction: DOWNSTREAM, start: 0, count: 100 }) {
|
|
|
|
...fullLineageResults
|
|
|
|
}
|
2022-03-15 11:17:13 -07:00
|
|
|
status {
|
|
|
|
removed
|
|
|
|
}
|
2022-04-07 19:17:24 -07:00
|
|
|
deprecation {
|
|
|
|
...deprecationFields
|
|
|
|
}
|
2021-04-23 00:18:39 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-09-22 17:30:15 -07:00
|
|
|
mutation updateDataJob($urn: String!, $input: DataJobUpdateInput!) {
|
|
|
|
updateDataJob(urn: $urn, input: $input) {
|
2021-10-22 15:46:46 -07:00
|
|
|
urn
|
2021-04-21 12:06:31 -07:00
|
|
|
}
|
|
|
|
}
|