Creating tests

Video walkthrough (3 min)

Adding tests

The primary place to add tests is on the Data tests page. On the left hand side are the contents of the data warehouse: schemas in a warehouse, tables/views in a schema, and columns in a table/view. Across the top are the tests supported by Metaplane, described in Test types and Custom SQL tests.

To add a test, you simply enter Edit mode on the top right corner then click on the cells. Metaplane will begin collecting the metadata and training our models immediately.

Bulk-adding tests

To add tests to all tables/views in a schema or all columns in a table/view, you can click the cell with a downwards chevron:

Changing test frequency

Tests are run each hour by default. But by clicking in a test page, you can change the frequency:

Adding manual thresholds

Metaplane can combine automated models with manual thresholds, such that you're alerted when the value is above or below specified values.

Configuring alert tolerance

Metaplane categorizes alert severity based on the degree to which an observed data value is outside of an expected range. By default, alerts are sent for Failures. But for tests for which you only want to be alerted on the most unexpected outliers, you can change the value to Critical failures. For tests that you want to be alerted on all changes, you can change the value to Warnings.

Did this page help you?