datahub/datahub-web-react/src/graphql/fragments.graphql
Hyejin Yoon ddd0d21bf9
feat(models): update mlflow-related mappers (#12263)
Co-authored-by: Shirshanka Das <shirshanka@apache.org>
Co-authored-by: RyanHolstien <RyanHolstien@users.noreply.github.com>
2025-01-13 16:57:10 -06:00

1565 lines
29 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 parentDomainsFields on ParentDomainsResult {
count
domains {
urn
type
... on Domain {
properties {
name
description
}
}
}
}
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
ownershipType {
urn
type
info {
name
description
}
status {
removed
}
}
associatedUrn
}
lastModified {
time
}
}
fragment embedFields on Embed {
renderUrl
}
fragment resolvedActorFields on ResolvedActor {
... on CorpUser {
urn
...entityDisplayNameFields
}
... on CorpGroup {
urn
...entityDisplayNameFields
}
}
fragment institutionalMemoryFields on InstitutionalMemory {
elements {
url
actor {
...resolvedActorFields
}
description
created {
actor
time
}
associatedUrn
}
}
fragment nonRecursiveDatasetFields on Dataset {
urn
name
type
origin
uri
lastIngested
platform {
...platformFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
platformNativeType
properties {
name
description
customProperties {
key
value
}
externalUrl
lastModified {
time
actor
}
}
structuredProperties {
properties {
...structuredPropertiesFields
}
}
editableProperties {
name
description
}
ownership {
...ownershipFields
}
institutionalMemory {
...institutionalMemoryFields
}
globalTags {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
}
subTypes {
typeNames
}
domain {
...entityDomain
}
...entityDataProduct
container {
...entityContainer
}
deprecation {
...deprecationFields
}
embed {
...embedFields
}
browsePathV2 {
...browsePathV2Fields
}
}
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
}
...entityDataProduct
deprecation {
...deprecationFields
}
}
fragment nonRecursiveDataJobFields on DataJob {
urn
properties {
name
description
externalUrl
customProperties {
key
value
}
}
globalTags {
...globalTagsFields
}
domain {
...entityDomain
}
...entityDataProduct
deprecation {
...deprecationFields
}
subTypes {
typeNames
}
}
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
}
...entityDataProduct
deprecation {
...deprecationFields
}
status {
removed
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
parentContainers {
...parentContainersFields
}
privileges {
canEditLineage
}
browsePathV2 {
...browsePathV2Fields
}
subTypes {
typeNames
}
health {
...entityHealth
}
activeIncidents: incidents(start: 0, count: 1, state: ACTIVE) {
total
}
}
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
}
...entityDataProduct
parentContainers {
...parentContainersFields
}
status {
removed
}
embed {
...embedFields
}
deprecation {
...deprecationFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
browsePathV2 {
...browsePathV2Fields
}
statsSummary {
viewCount
uniqueUserCountLast30Days
topUsersLast30Days {
urn
type
username
properties {
displayName
firstName
lastName
fullName
}
editableProperties {
displayName
pictureLink
}
}
}
inputFields {
...inputFieldsFields
}
subTypes {
typeNames
}
privileges {
canEditLineage
canEditEmbed
}
health {
...entityHealth
}
}
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
}
...entityDataProduct
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
browsePathV2 {
...browsePathV2Fields
}
featureTables: relationships(input: { types: ["Contains"], direction: INCOMING, start: 0, count: 100 }) {
relationships {
type
entity {
... on MLFeatureTable {
platform {
...platformFields
}
}
}
}
}
structuredProperties {
properties {
...structuredPropertiesFields
}
}
}
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
}
...entityDataProduct
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
}
}
}
}
}
structuredProperties {
properties {
...structuredPropertiesFields
}
}
}
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
}
...entityDataProduct
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
browsePathV2 {
...browsePathV2Fields
}
structuredProperties {
properties {
...structuredPropertiesFields
}
}
}
fragment schemaFieldFields on SchemaField {
fieldPath
label
jsonPath
nullable
description
type
nativeDataType
recursive
isPartOfKey
isPartitioningKey
globalTags {
...globalTagsFields
}
glossaryTerms {
...glossaryTerms
}
schemaFieldEntity {
urn
type
structuredProperties {
properties {
...structuredPropertiesFields
}
}
businessAttributes {
businessAttribute {
...businessAttribute
}
}
documentation {
documentations {
documentation
attribution {
time
actor {
urn
type
...entityDisplayNameFields
}
source {
urn
type
}
sourceDetail {
key
value
}
}
}
}
}
}
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 {
name
description
date
created {
time
actor
}
lastModified {
time
actor
}
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
}
...entityDataProduct
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
institutionalMemory {
...institutionalMemoryFields
}
browsePathV2 {
...browsePathV2Fields
}
}
fragment nonRecursiveMLModelGroupFields on MLModelGroup {
urn
type
exists
lastIngested
name
description
origin
platform {
...platformFields
}
dataPlatformInstance {
...dataPlatformInstanceFields
}
ownership {
...ownershipFields
}
status {
removed
}
glossaryTerms {
...glossaryTerms
}
domain {
...entityDomain
}
...entityDataProduct
tags {
...globalTagsFields
}
editableProperties {
description
}
deprecation {
...deprecationFields
}
properties {
name
description
created {
time
actor
}
}
browsePathV2 {
...browsePathV2Fields
}
}
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
type
properties {
name
}
subTypes {
typeNames
}
}
fragment domainEntitiesFields on Domain {
entities(input: { start: 0, count: 0 }) {
total
}
dataProducts: entities(input: { start: 0, count: 0, filters: [{ field: "_entityType", values: "DATA_PRODUCT" }] }) {
total
}
children: relationships(input: { types: ["IsPartOf"], direction: INCOMING, start: 0, count: 0 }) {
total
}
}
fragment entityDomain on DomainAssociation {
domain {
urn
type
properties {
name
description
}
parentDomains {
...parentDomainsFields
}
...domainEntitiesFields
}
associatedUrn
}
fragment entityDataProduct on Entity {
dataProduct: relationships(input: { types: ["DataProductContains"], direction: INCOMING, start: 0, count: 1 }) {
relationships {
type
entity {
urn
type
... on DataProduct {
properties {
name
description
}
domain {
...entityDomain
}
}
}
}
}
}
fragment inputFieldsFields on InputFields {
fields {
schemaFieldUrn
schemaField {
...schemaFieldFields
}
}
}
fragment browsePathV2Fields on BrowsePathV2 {
path {
name
entity {
urn
type
... on Container {
properties {
name
}
}
... on DataFlow {
properties {
name
}
}
... on DataPlatformInstance {
platform {
name
properties {
displayName
}
}
instanceId
}
... on Dataset {
properties {
name
}
}
}
}
}
fragment entityDisplayNameFields on Entity {
urn
type
... on Dataset {
name
properties {
name
qualifiedName
}
}
... on CorpUser {
username
properties {
displayName
title
firstName
lastName
fullName
email
}
info {
active
displayName
title
firstName
lastName
fullName
email
}
}
... on CorpGroup {
name
info {
displayName
}
}
... on Dashboard {
dashboardId
properties {
name
}
}
... on Chart {
chartId
properties {
name
}
}
... on DataFlow {
properties {
name
}
}
... on DataJob {
jobId
properties {
name
}
}
... on GlossaryTerm {
name
hierarchicalName
properties {
name
}
}
... on GlossaryNode {
properties {
name
}
}
... on Domain {
properties {
name
}
}
... on Container {
properties {
name
}
}
... on MLFeatureTable {
name
}
... on MLFeature {
name
}
... on MLPrimaryKey {
name
}
... on MLModel {
name
}
... on MLModelGroup {
name
}
... on Tag {
name
properties {
name
colorHex
}
}
... on DataPlatform {
...nonConflictingPlatformFields
}
... on DataProduct {
properties {
name
}
}
... on DataPlatformInstance {
instanceId
}
... on StructuredPropertyEntity {
definition {
displayName
qualifiedName
}
}
}
fragment ermodelrelationPropertiesFields on ERModelRelationshipProperties {
name
source {
...datasetERModelRelationshipFields
}
destination {
...datasetERModelRelationshipFields
}
relationshipFieldMappings {
...relationshipFieldMapping
}
createdTime
createdActor {
urn
}
}
fragment relationshipFieldMapping on RelationshipFieldMapping {
sourceField
destinationField
}
fragment ermodelrelationEditablePropertiesFields on ERModelRelationshipEditableProperties {
description
name
}
fragment datasetERModelRelationshipFields on Dataset {
urn
name
properties {
name
description
}
editableProperties {
description
}
schemaMetadata {
...schemaMetadataFields
}
}
fragment structuredPropertyFields on StructuredPropertyEntity {
urn
type
definition {
displayName
qualifiedName
description
cardinality
immutable
valueType {
urn
type
info {
type
displayName
}
}
entityTypes {
urn
type
info {
type
}
}
cardinality
typeQualifier {
allowedTypes {
urn
type
info {
type
displayName
}
}
}
allowedValues {
value {
... on StringValue {
stringValue
}
... on NumberValue {
numberValue
}
}
description
}
created {
time
actor {
urn
editableProperties {
displayName
pictureLink
}
...entityDisplayNameFields
}
}
lastModified {
time
actor {
urn
editableProperties {
displayName
pictureLink
}
...entityDisplayNameFields
}
}
}
settings {
isHidden
showInSearchFilters
showAsAssetBadge
showInAssetSummary
showInColumnsTable
}
}
fragment structuredPropertiesFields on StructuredPropertiesEntry {
structuredProperty {
exists
...structuredPropertyFields
}
values {
... on StringValue {
stringValue
}
... on NumberValue {
numberValue
}
}
valueEntities {
urn
type
...entityDisplayNameFields
}
associatedUrn
}
fragment autoRenderAspectFields on RawAspect {
aspectName
payload
renderSpec {
displayType
displayName
key
}
}
fragment formAssociationFields on FormAssociation {
associatedUrn
incompletePrompts {
...formPromptAssociationFields
}
completedPrompts {
...formPromptAssociationFields
}
form {
urn
type
info {
name
description
type
prompts {
id
formUrn
title
description
type
required
structuredPropertyParams {
structuredProperty {
...structuredPropertyFields
}
}
}
actors {
owners
isAssignedToMe
}
}
ownership {
...ownershipFields
}
}
}
fragment formPromptAssociationFields on FormPromptAssociation {
id
lastModified {
time
actor {
urn
type
...entityDisplayNameFields
}
}
fieldAssociations {
completedFieldPrompts {
fieldPath
lastModified {
time
actor {
urn
type
...entityDisplayNameFields
}
}
}
}
}
fragment entityHealth on Health {
type
status
message
causes
}
fragment formsFields on Forms {
completedForms {
...formAssociationFields
}
incompleteForms {
...formAssociationFields
}
verifications {
form {
urn
}
lastModified {
time
actor {
urn
type
...entityDisplayNameFields
}
}
}
}
fragment entityPrivileges on EntityPrivileges {
canEditLineage
canEditQueries
canEditEmbed
canManageEntity
canManageChildren
canEditProperties
}
fragment businessAttribute on BusinessAttributeAssociation {
businessAttribute {
urn
type
ownership {
...ownershipFields
}
properties {
name
description
businessAttributeDataType: type
lastModified {
time
}
created {
time
}
tags {
tags {
tag {
urn
name
properties {
name
}
}
associatedUrn
}
}
glossaryTerms {
terms {
term {
urn
type
properties {
name
}
}
associatedUrn
}
}
}
}
associatedUrn
}