Skip to content

Commit

Permalink
add graphql files
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonhyejin committed Jan 7, 2025
1 parent 550bf83 commit 49bc8d7
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 9 deletions.
18 changes: 9 additions & 9 deletions datahub-web-react/src/graphql/dataProcessInstance.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ fragment dataProcessInstanceFields on DataProcessInstance {
...dataPlatformInstanceFields
}
state(startTimeMillis: null, endTimeMillis: null, limit: 1) {
status
attempt
result {
resultType
nativeResultType
}
timestampMillis
durationMillis
status
attempt
result {
resultType
nativeResultType
}
timestampMillis
durationMillis
}
relationships(input: { types: ["InstanceOf", "Consumes", "Produces"], direction: OUTGOING, start: 0, count: 50 }) {
...processInstanceRelationshipResults
Expand Down Expand Up @@ -178,4 +178,4 @@ query getDataProcessInstance($urn: String!) {
durationMillis
}
}
}
}
14 changes: 14 additions & 0 deletions datahub-web-react/src/graphql/fragments.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,17 @@ fragment nonRecursiveMLModel on MLModel {
...ownershipFields
}
properties {
name
description
date
created {
time
actor
}
lastModified {
time
actor
}
externalUrl
version
type
Expand Down Expand Up @@ -953,7 +962,12 @@ fragment nonRecursiveMLModelGroupFields on MLModelGroup {
...deprecationFields
}
properties {
name
description
created {
time
actor
}
}
browsePathV2 {
...browsePathV2Fields
Expand Down
19 changes: 19 additions & 0 deletions datahub-web-react/src/graphql/lineage.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ fragment lineageNodeProperties on EntityWithRelationships {
name
description
origin
tags {
...globalTagsFields
}
platform {
...platformFields
}
Expand All @@ -268,6 +271,19 @@ fragment lineageNodeProperties on EntityWithRelationships {
status {
removed
}
properties {
createdTS: created {
time
actor
}
customProperties {
key
value
}
}
editableProperties {
description
}
structuredProperties {
properties {
...structuredPropertiesFields
Expand Down Expand Up @@ -328,6 +344,9 @@ fragment lineageNodeProperties on EntityWithRelationships {
urn
type
}
... on DataProcessInstance {
...dataProcessInstanceFields
}
}

fragment lineageFields on EntityWithRelationships {
Expand Down
12 changes: 12 additions & 0 deletions datahub-web-react/src/graphql/mlModelGroup.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ query getMLModelGroup($urn: String!) {
mlModelGroup(urn: $urn) {
urn
type
properties {
name
description
created {
time
actor
}
lastModified {
time
actor
}
}
...nonRecursiveMLModelGroupFields
incoming: relationships(
input: {
Expand Down

0 comments on commit 49bc8d7

Please sign in to comment.