fix(ui): stop overfetching data for operations (#5632)

This commit is contained in:
Gabe Lyons 2022-08-11 17:26:34 -07:00 committed by GitHub
parent fdcb05b833
commit 2252f82cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,14 +20,77 @@ fragment runResults on DataProcessInstanceResult {
timestampMillis
}
inputs: relationships(input: { types: ["Consumes"], direction: OUTGOING, start: 0, count: 20 }) {
...fullRelationshipResults
...runRelationshipResults
}
outputs: relationships(input: { types: ["Produces"], direction: OUTGOING, start: 0, count: 20 }) {
...fullRelationshipResults
...runRelationshipResults
}
parentTemplate: relationships(input: { types: ["InstanceOf"], direction: OUTGOING, start: 0, count: 1 }) {
...fullRelationshipResults
...runRelationshipResults
}
externalUrl
}
}
fragment runRelationshipResults on EntityRelationshipsResult {
start
count
total
relationships {
type
direction
entity {
urn
type
... on Dataset {
name
properties {
name
description
qualifiedName
}
editableProperties {
description
}
platform {
...platformFields
}
subTypes {
typeNames
}
status {
removed
}
}
... on DataJob {
urn
type
dataFlow {
...nonRecursiveDataFlowFields
}
jobId
properties {
name
description
externalUrl
customProperties {
key
value
}
}
deprecation {
...deprecationFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
editableProperties {
description
}
status {
removed
}
}
}
}
}