Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(assertions) aligned graphql AssertionType definition with the AssertionType defined in metadata-models #10534

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion datahub-graphql-core/src/main/resources/entity.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -7766,10 +7766,33 @@ enum DatasetAssertionScope {
}

"""
The top-level assertion type. Currently single Dataset assertions are the only type supported.
The top-level assertion type.
"""
enum AssertionType {
"""
A single-dataset assertion.
"""
DATASET
"""
An assertion which indicates when a particular operation should occur to an asset.
"""
FRESHNESS
"""
An assertion which indicates how much data should be available for a particular asset.
"""
VOLUME
"""
A raw SQL-statement based assertion.
"""
SQL
"""
A structured assertion targeting a specific column or field of the Dataset.
"""
FIELD
"""
A schema or structural assertion.
"""
DATA_SCHEMA
}

"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ record AssertionInfo includes CustomProperties, ExternalReference {
*/
SQL

/**
* A structured assertion targeting a specific column or field of the Dataset.
*/
FIELD

/**
* A schema or structural assertion.
*
Expand Down
Loading