datahub/datahub-web-react/src/graphql/fragments.graphql

910 lines
16 KiB
GraphQL

fragment globalTagsFields on GlobalTags {
tags {
tag {
urn
type
name
description
properties {
name
colorHex
}
}
associatedUrn
}
}
fragment glossaryNode on GlossaryNode {
urn
type
properties {
name
}
children: relationships(input: { types: ["IsPartOf"], direction: INCOMING, start: 0, count: 10000 }) {
total
}
}
fragment glossaryTerm on GlossaryTerm {
urn
name
type
hierarchicalName
properties {
name
description
definition
termSource
customProperties {
key
value
}
}
ownership {
...ownershipFields
}
parentNodes {
...parentNodesFields
}
}
fragment glossaryTerms on GlossaryTerms {
terms {
term {
...glossaryTerm
}
associatedUrn
}
}
fragment deprecationFields on Deprecation {
actor
deprecated
note
decommissionTime
}
fragment parentContainersFields on ParentContainersResult {
count
containers {
...parentContainerFields
}
}
fragment parentNodesFields on ParentNodesResult {
count
nodes {
urn
type
properties {
name
}
}
}
fragment ownershipFields on Ownership {
owners {
owner {
... on CorpUser {
urn
type
username
info {
active
displayName
title
email
firstName
lastName
fullName
}
properties {
active
displayName
title
email
firstName
lastName
fullName
}
editableProperties {
displayName
title
pictureLink
email
}
}
... on CorpGroup {
urn
type
name
properties {
displayName
email
}
info {
displayName
email
admins {
urn
username
info {
active
displayName
title
email
firstName
lastName
fullName
}
editableInfo {
pictureLink
teams
skills
}
}
members {
urn
username
info {
active
displayName
title
email
firstName
lastName
fullName
}
editableInfo {
pictureLink
teams
skills
}
}
groups
}
}
}
type
associatedUrn
}
lastModified {
time
}
}
fragment embedFields on Embed {
renderUrl
}
fragment institutionalMemoryFields on InstitutionalMemory {
elements {
url
author {
urn
username
}
description
created {
actor
time
}
}
}
fragment nonRecursiveDatasetFields on Dataset {
urn
name
type
origin
uri
lastIngested
platform {
...platformFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
platformNativeType
properties {
name
description
customProperties {
key
value
}
externalUrl
}
editableProperties {
description
}
ownership {
...ownershipFields
}
institutionalMemory {
...institutionalMemoryFields
}
globalTags {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
}
subTypes {
typeNames
}
domain {
...entityDomain
}
container {
...entityContainer
}
deprecation {
...deprecationFields
}
embed {
...embedFields
}
}
fragment nonRecursiveDataFlowFields on DataFlow {
urn
type
orchestrator
flowId
cluster
properties {
name
description
project
externalUrl
customProperties {
key
value
}
}
editableProperties {
description
}
ownership {
...ownershipFields
}
platform {
...platformFields
}
domain {
...entityDomain
}
deprecation {
...deprecationFields
}
}
fragment nonRecursiveDataJobFields on DataJob {
urn
properties {
name
description
externalUrl
customProperties {
key
value
}
}
globalTags {
...globalTagsFields
}
domain {
...entityDomain
}
deprecation {
...deprecationFields
}
}
fragment dataJobFields on DataJob {
urn
type
exists
lastIngested
dataFlow {
...nonRecursiveDataFlowFields
}
jobId
ownership {
...ownershipFields
}
properties {
name
description
externalUrl
customProperties {
key
value
}
}
editableProperties {
description
}
globalTags {
...globalTagsFields
}
institutionalMemory {
...institutionalMemoryFields
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
deprecation {
...deprecationFields
}
status {
removed
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
privileges {
canEditLineage
}
}
fragment dashboardFields on Dashboard {
urn
type
exists
lastIngested
tool
dashboardId
properties {
name
description
customProperties {
key
value
}
externalUrl
access
lastRefreshed
created {
time
}
lastModified {
time
}
}
editableProperties {
description
}
ownership {
...ownershipFields
}
globalTags {
...globalTagsFields
}
institutionalMemory {
...institutionalMemoryFields
}
glossaryTerms {
...glossaryTerms
}
platform {
...platformFields
}
domain {
...entityDomain
}
parentContainers {
...parentContainersFields
}
status {
removed
}
embed {
...embedFields
}
deprecation {
...deprecationFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
statsSummary {
viewCount
uniqueUserCountLast30Days
topUsersLast30Days {
urn
type
username
properties {
displayName
firstName
lastName
fullName
}
editableProperties {
displayName
pictureLink
}
}
}
inputFields {
...inputFieldsFields
}
subTypes {
typeNames
}
privileges {
canEditLineage
canEditEmbed
}
}
fragment nonRecursiveMLFeature on MLFeature {
urn
type
exists
lastIngested
name
featureNamespace
description
dataType
properties {
description
dataType
version {
versionTag
}
sources {
urn
name
type
origin
description
uri
platform {
...platformFields
}
platformNativeType
}
}
ownership {
...ownershipFields
}
institutionalMemory {
...institutionalMemoryFields
}
status {
removed
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
featureTables: relationships(input: { types: ["Contains"], direction: INCOMING, start: 0, count: 100 }) {
relationships {
type
entity {
... on MLFeatureTable {
platform {
...platformFields
}
}
}
}
}
}
fragment nonRecursiveMLPrimaryKey on MLPrimaryKey {
urn
type
exists
lastIngested
name
featureNamespace
description
dataType
properties {
description
dataType
version {
versionTag
}
sources {
urn
name
type
origin
description
uri
platform {
...platformFields
}
platformNativeType
}
}
ownership {
...ownershipFields
}
institutionalMemory {
...institutionalMemoryFields
}
status {
removed
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
featureTables: relationships(input: { types: ["KeyedBy"], direction: INCOMING, start: 0, count: 100 }) {
relationships {
type
entity {
... on MLFeatureTable {
platform {
...platformFields
}
}
}
}
}
}
fragment nonRecursiveMLFeatureTable on MLFeatureTable {
urn
type
exists
lastIngested
name
platform {
...platformFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
description
properties {
description
mlFeatures {
...nonRecursiveMLFeature
}
mlPrimaryKeys {
...nonRecursiveMLPrimaryKey
}
customProperties {
key
value
}
}
ownership {
...ownershipFields
}
institutionalMemory {
...institutionalMemoryFields
}
status {
removed
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
}
fragment schemaFieldFields on SchemaField {
fieldPath
label
jsonPath
nullable
description
type
nativeDataType
recursive
isPartOfKey
globalTags {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
}
}
fragment schemaMetadataFields on SchemaMetadata {
aspectVersion
createdAt
datasetUrn
name
platformUrn
version
cluster
hash
platformSchema {
... on TableSchema {
schema
}
... on KeyValueSchema {
keySchema
valueSchema
}
}
fields {
...schemaFieldFields
}
primaryKeys
foreignKeys {
name
sourceFields {
fieldPath
}
foreignFields {
fieldPath
}
foreignDataset {
urn
name
type
origin
uri
properties {
description
}
platform {
...platformFields
}
platformNativeType
ownership {
...ownershipFields
}
globalTags {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
}
}
}
}
fragment nonRecursiveMLModel on MLModel {
urn
type
exists
lastIngested
name
description
origin
platform {
...platformFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
ownership {
...ownershipFields
}
properties {
description
date
externalUrl
version
type
trainingMetrics {
name
description
value
}
hyperParams {
name
description
value
}
mlFeatures
groups {
urn
name
description
}
customProperties {
key
value
}
}
globalTags {
...globalTagsFields
}
status {
removed
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
institutionalMemory {
...institutionalMemoryFields
}
}
fragment nonRecursiveMLModelGroupFields on MLModelGroup {
urn
type
exists
lastIngested
name
description
origin
platform {
...platformFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
ownership {
...ownershipFields
}
status {
removed
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
properties {
description
}
}
fragment platformFields on DataPlatform {
urn
type
lastIngested
name
properties {
type
displayName
datasetNameDelimiter
logoUrl
}
displayName
info {
type
displayName
datasetNameDelimiter
logoUrl
}
}
fragment nonConflictingPlatformFields on DataPlatform {
urn
type
name
properties {
displayName
datasetNameDelimiter
logoUrl
}
displayName
info {
type
displayName
datasetNameDelimiter
logoUrl
}
}
fragment dataPlatformInstanceFields on DataPlatformInstance {
urn
type
platform {
...platformFields
}
instanceId
}
fragment entityContainer on Container {
urn
platform {
...platformFields
}
properties {
name
}
subTypes {
typeNames
}
deprecation {
...deprecationFields
}
}
fragment parentContainerFields on Container {
urn
properties {
name
}
}
fragment entityDomain on DomainAssociation {
domain {
urn
type
properties {
name
description
}
}
associatedUrn
}
fragment inputFieldsFields on InputFields {
fields {
schemaFieldUrn
schemaField {
...schemaFieldFields
}
}
}