2021-07-30 17:41:03 -07:00
|
|
|
query getDataProfiles($urn: String!, $limit: Int, $startTime: Long, $endTime: Long) {
|
|
|
|
dataset(urn: $urn) {
|
|
|
|
urn
|
|
|
|
datasetProfiles(limit: $limit, startTimeMillis: $startTime, endTimeMillis: $endTime) {
|
|
|
|
rowCount
|
|
|
|
columnCount
|
|
|
|
timestampMillis
|
|
|
|
fieldProfiles {
|
|
|
|
fieldPath
|
|
|
|
uniqueCount
|
|
|
|
uniqueProportion
|
|
|
|
nullCount
|
|
|
|
nullProportion
|
|
|
|
min
|
|
|
|
max
|
|
|
|
mean
|
|
|
|
median
|
|
|
|
stdev
|
|
|
|
sampleValues
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-07-09 23:46:38 +08:00
|
|
|
schemaMetadata(version: 0) {
|
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
|
|
|
previousSchemaMetadata: schemaMetadata(version: -1) {
|
|
|
|
...schemaMetadataFields
|
|
|
|
}
|
|
|
|
editableSchemaMetadata {
|
|
|
|
editableSchemaFieldInfo {
|
|
|
|
fieldPath
|
|
|
|
description
|
|
|
|
globalTags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
2021-09-13 09:16:37 -07:00
|
|
|
glossaryTerms {
|
|
|
|
...glossaryTerms
|
|
|
|
}
|
2021-07-09 23:46:38 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
deprecation {
|
|
|
|
actor
|
|
|
|
deprecated
|
|
|
|
note
|
|
|
|
decommissionTime
|
|
|
|
}
|
|
|
|
globalTags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
|
|
|
glossaryTerms {
|
|
|
|
...glossaryTerms
|
|
|
|
}
|
2021-10-06 23:39:52 -07:00
|
|
|
subTypes {
|
|
|
|
typeNames
|
|
|
|
}
|
2022-01-27 22:02:41 -08:00
|
|
|
domain {
|
|
|
|
...entityDomain
|
|
|
|
}
|
2022-02-02 13:51:39 -08:00
|
|
|
container {
|
|
|
|
...entityContainer
|
|
|
|
}
|
2022-05-11 10:02:42 -07:00
|
|
|
usageStats(range: MONTH) {
|
2021-06-24 17:11:00 -07:00
|
|
|
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-07-30 17:41:03 -07:00
|
|
|
datasetProfiles(limit: 1) {
|
|
|
|
rowCount
|
|
|
|
columnCount
|
|
|
|
timestampMillis
|
|
|
|
fieldProfiles {
|
|
|
|
fieldPath
|
|
|
|
uniqueCount
|
|
|
|
uniqueProportion
|
|
|
|
nullCount
|
|
|
|
nullProportion
|
|
|
|
min
|
|
|
|
max
|
|
|
|
mean
|
|
|
|
median
|
|
|
|
stdev
|
|
|
|
sampleValues
|
|
|
|
}
|
|
|
|
}
|
2022-03-04 11:51:31 -08:00
|
|
|
health {
|
|
|
|
status
|
|
|
|
message
|
|
|
|
causes
|
|
|
|
}
|
|
|
|
assertions(start: 0, count: 1) {
|
|
|
|
total
|
|
|
|
}
|
2022-01-07 15:27:09 -10:00
|
|
|
operations(limit: 1) {
|
|
|
|
timestampMillis
|
2022-05-02 16:00:29 -07:00
|
|
|
lastUpdatedTimestamp
|
2022-01-07 15:27:09 -10:00
|
|
|
}
|
2022-03-04 16:10:25 -08:00
|
|
|
upstream: lineage(input: { direction: UPSTREAM, start: 0, count: 100 }) {
|
|
|
|
...fullLineageResults
|
|
|
|
}
|
|
|
|
downstream: lineage(input: { direction: DOWNSTREAM, start: 0, count: 100 }) {
|
|
|
|
...fullLineageResults
|
2021-10-22 15:46:46 -07:00
|
|
|
}
|
2021-10-12 15:47:29 -07:00
|
|
|
...viewProperties
|
2021-11-29 21:07:06 -08:00
|
|
|
autoRenderAspects: aspects(input: { autoRenderOnly: true }) {
|
|
|
|
aspectName
|
|
|
|
payload
|
|
|
|
renderSpec {
|
|
|
|
displayType
|
|
|
|
displayName
|
|
|
|
key
|
|
|
|
}
|
|
|
|
}
|
2022-03-15 11:17:13 -07:00
|
|
|
status {
|
|
|
|
removed
|
|
|
|
}
|
2022-04-12 08:52:07 +02:00
|
|
|
readRuns: runs(start: 0, count: 20, direction: INCOMING) {
|
|
|
|
count
|
|
|
|
start
|
|
|
|
total
|
|
|
|
}
|
|
|
|
writeRuns: runs(start: 0, count: 20, direction: OUTGOING) {
|
|
|
|
count
|
|
|
|
start
|
|
|
|
total
|
|
|
|
}
|
2021-01-17 12:54:49 -08:00
|
|
|
}
|
|
|
|
}
|
2021-07-09 23:46:38 +08:00
|
|
|
|
2021-10-22 15:46:46 -07:00
|
|
|
mutation updateDataset($urn: String!, $input: DatasetUpdateInput!) {
|
|
|
|
updateDataset(urn: $urn, input: $input) {
|
2021-07-09 23:46:38 +08:00
|
|
|
urn
|
|
|
|
}
|
|
|
|
}
|
2021-10-12 15:47:29 -07:00
|
|
|
|
|
|
|
fragment viewProperties on Dataset {
|
|
|
|
viewProperties {
|
|
|
|
materialized
|
|
|
|
logic
|
|
|
|
language
|
|
|
|
}
|
|
|
|
}
|
2022-03-04 11:51:31 -08:00
|
|
|
|
|
|
|
query getDatasetAssertions($urn: String!) {
|
|
|
|
dataset(urn: $urn) {
|
|
|
|
assertions(start: 0, count: 100) {
|
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
assertions {
|
|
|
|
...assertionDetails
|
|
|
|
runEvents(status: COMPLETE, limit: 1) {
|
|
|
|
total
|
|
|
|
failed
|
|
|
|
succeeded
|
|
|
|
runEvents {
|
|
|
|
...assertionRunEventDetails
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-04-12 08:52:07 +02:00
|
|
|
|
|
|
|
query getDatasetRuns($urn: String!, $start: Int!, $count: Int!, $direction: RelationshipDirection!) {
|
|
|
|
dataset(urn: $urn) {
|
|
|
|
runs(start: $start, count: $count, direction: $direction) {
|
|
|
|
...runResults
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|