2021-02-09 14:30:23 -08:00
|
|
|
mutation updateDataset($input: DatasetUpdateInput!) {
|
|
|
|
updateDataset(input: $input) {
|
2021-02-10 14:19:27 -08:00
|
|
|
...nonRecursiveDatasetFields
|
2021-04-23 00:18:39 -07:00
|
|
|
downstreamLineage {
|
|
|
|
...downstreamRelationshipFields
|
|
|
|
}
|
|
|
|
upstreamLineage {
|
|
|
|
...upstreamRelationshipFields
|
|
|
|
}
|
2021-02-10 14:19:27 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query getDataset($urn: String!) {
|
|
|
|
dataset(urn: $urn) {
|
2021-06-26 01:11:34 +08:00
|
|
|
...nonRecursiveDatasetFields
|
2021-02-10 14:19:27 -08:00
|
|
|
downstreamLineage {
|
2021-04-23 00:18:39 -07:00
|
|
|
...downstreamRelationshipFields
|
|
|
|
}
|
|
|
|
upstreamLineage {
|
|
|
|
...upstreamRelationshipFields
|
2021-02-09 19:05:50 -08:00
|
|
|
}
|
2021-07-09 23:46:38 +08:00
|
|
|
schemaMetadata(version: 0) {
|
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
|
|
|
previousSchemaMetadata: schemaMetadata(version: -1) {
|
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
|
|
|
editableSchemaMetadata {
|
|
|
|
editableSchemaFieldInfo {
|
|
|
|
fieldPath
|
|
|
|
description
|
|
|
|
globalTags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
deprecation {
|
|
|
|
actor
|
|
|
|
deprecated
|
|
|
|
note
|
|
|
|
decommissionTime
|
|
|
|
}
|
|
|
|
globalTags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
|
|
|
downstreamLineage {
|
|
|
|
...downstreamRelationshipFields
|
|
|
|
}
|
|
|
|
glossaryTerms {
|
|
|
|
...glossaryTerms
|
|
|
|
}
|
|
|
|
upstreamLineage {
|
|
|
|
...upstreamRelationshipFields
|
|
|
|
}
|
2021-06-24 17:11:00 -07:00
|
|
|
usageStats(resource: $urn, range: MONTH) {
|
|
|
|
buckets {
|
|
|
|
bucket
|
|
|
|
duration
|
|
|
|
resource
|
|
|
|
metrics {
|
|
|
|
uniqueUserCount
|
|
|
|
totalSqlQueries
|
|
|
|
topSqlQueries
|
|
|
|
}
|
|
|
|
}
|
|
|
|
aggregations {
|
|
|
|
uniqueUserCount
|
|
|
|
totalSqlQueries
|
|
|
|
users {
|
|
|
|
user {
|
|
|
|
urn
|
|
|
|
username
|
|
|
|
}
|
|
|
|
count
|
|
|
|
userEmail
|
|
|
|
}
|
2021-06-24 19:44:59 -07:00
|
|
|
fields {
|
|
|
|
fieldName
|
|
|
|
count
|
|
|
|
}
|
2021-06-24 17:11:00 -07:00
|
|
|
}
|
|
|
|
}
|
2021-01-17 12:54:49 -08:00
|
|
|
}
|
|
|
|
}
|
2021-07-09 23:46:38 +08:00
|
|
|
|
|
|
|
query getDatasetSchemaVersions($urn: String!, $version1: Long, $version2: Long) {
|
|
|
|
dataset(urn: $urn) {
|
|
|
|
urn
|
|
|
|
name
|
|
|
|
type
|
|
|
|
origin
|
|
|
|
description
|
|
|
|
uri
|
|
|
|
schemaMetadata(version: $version1) {
|
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
|
|
|
previousSchemaMetadata: schemaMetadata(version: $version2) {
|
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
|
|
|
editableSchemaMetadata {
|
|
|
|
editableSchemaFieldInfo {
|
|
|
|
fieldPath
|
|
|
|
description
|
|
|
|
globalTags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|