mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 09:32:04 +00:00
92 lines
1.8 KiB
GraphQL
92 lines
1.8 KiB
GraphQL
fragment assertionDetails on Assertion {
|
|
urn
|
|
type
|
|
platform {
|
|
urn
|
|
properties {
|
|
displayName
|
|
logoUrl
|
|
}
|
|
info {
|
|
displayName
|
|
logoUrl
|
|
}
|
|
}
|
|
dataPlatformInstance {
|
|
...dataPlatformInstanceFields
|
|
}
|
|
info {
|
|
type
|
|
datasetAssertion {
|
|
scope
|
|
aggregation
|
|
operator
|
|
parameters {
|
|
value {
|
|
value
|
|
type
|
|
}
|
|
minValue {
|
|
value
|
|
type
|
|
}
|
|
maxValue {
|
|
value
|
|
type
|
|
}
|
|
}
|
|
fields {
|
|
urn
|
|
path
|
|
}
|
|
nativeType
|
|
nativeParameters {
|
|
key
|
|
value
|
|
}
|
|
logic
|
|
}
|
|
}
|
|
}
|
|
|
|
fragment assertionRunEventDetails on AssertionRunEvent {
|
|
timestampMillis
|
|
assertionUrn
|
|
status
|
|
runtimeContext {
|
|
key
|
|
value
|
|
}
|
|
result {
|
|
type
|
|
actualAggValue
|
|
rowCount
|
|
missingCount
|
|
unexpectedCount
|
|
externalUrl
|
|
nativeResults {
|
|
key
|
|
value
|
|
}
|
|
}
|
|
}
|
|
|
|
query getAssertionRuns($assertionUrn: String!, $startTime: Long, $endTime: Long, $limit: Int) {
|
|
assertion(urn: $assertionUrn) {
|
|
urn
|
|
...assertionDetails
|
|
runEvents(status: COMPLETE, startTimeMillis: $startTime, endTimeMillis: $endTime, limit: $limit) {
|
|
total
|
|
failed
|
|
succeeded
|
|
runEvents {
|
|
...assertionRunEventDetails
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation deleteAssertion($urn: String!) {
|
|
deleteAssertion(urn: $urn)
|
|
}
|