Manage Expectation Suites
Expectation Suites contain multiple Expectations for a single Data Asset. Like Expectations, they can help you better understand your data and help you improve data quality. A default Expectation Suite is created when you create a Data Asset.
To learn more about Expectation Suites, see Expectation Suites.
Prerequisites
-
You have set up your environment and the GX Agent is running.
-
You have a Data Asset.
Automatically create an Expectation Suite that tests for missing data
Automatically create an Expectation Suite that you can use to determine if your Data Asset contains missing data (null values). Creating Expectation Suites automatically saves you writing and then running the same code for each column in your Data Asset.
-
In GX Cloud, click Data Assets and select a Data Asset in the Data Assets list.
-
Click the Expectations tab.
-
Click Create New Suite in the Expectation Suites pane.
-
Click Automatic (Experimental).
-
Click Missingness and then enter a name for the Expectation Suite in the Suite name field.
-
Click Generate Expectations.
It might take several minutes to create the Expectation Suite. When the process is complete, a new Expectation Suite appears in the Expectation Suites pane.
-
Optional. Run a Validation on the Expectation Suite. See Run a Validation.
Create an empty Expectation Suite
If you have specific business requirements, or you want to examine specific data, you can create an empty Expectation Suite and then add Expectations individually.
-
In GX Cloud, click Data Assets and select a Data Asset in the Data Assets list.
-
Click the Expectations tab.
-
Click Create New Suite in the Expectation Suites pane.
-
Click Manual.
-
Enter a name for the Expectation Suite in the Suite name field.
-
Click Generate Expectations.
-
Add Expectations to the Expectation Suite. See Create an Expectation.
-
Optional. Run a Validation on the Expectation Suite. See Run a Validation.
Delete an Expectation Suite
-
In GX Cloud, delete all Checkpoints associated with the Expectation Suite. See Delete a Checkpoint.
-
Click Expectation Suites.
-
Click Delete for the Expectation Suite you want to delete.
-
Click Delete.