Skip to content

Commit

Permalink
fix(dataset): improve glossary term load performance for datasets (da…
Browse files Browse the repository at this point in the history
  • Loading branch information
Reilman79 authored and cccs-Dustin committed Feb 1, 2023
1 parent 5eb7b7d commit 6f59820
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions datahub-web-react/src/graphql/dataset.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
fragment simplifiedGlossaryTerms on GlossaryTerms {
terms {
term {
urn
name
type
hierarchicalName
properties {
name
description
definition
termSource
customProperties {
key
value
}
}
ownership {
...ownershipFields
}
parentNodes {
count
nodes {
urn
type
properties {
name
}
}
}
}
associatedUrn
}
}

query getDataProfiles($urn: String!, $limit: Int, $startTime: Long, $endTime: Long) {
dataset(urn: $urn) {
urn
Expand Down Expand Up @@ -49,7 +84,7 @@ fragment nonSiblingDatasetFields on Dataset {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
...simplifiedGlossaryTerms
}
}
}
Expand All @@ -63,7 +98,7 @@ fragment nonSiblingDatasetFields on Dataset {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
...simplifiedGlossaryTerms
}
subTypes {
typeNames
Expand Down

0 comments on commit 6f59820

Please sign in to comment.