SQL-based cloud tests read table data, so they need data access for the environment’s warehouse connection. Data access is enabled in one of two ways:
- Elementary enables data access on the warehouse connection. Contact the Elementary team to turn it on.
- You connect an Elementary Runtime to the warehouse connection.
How it works
On each run, Elementary returns every row where the tested value counts as missing. You choose what counts as missing:
When you select more than one check, a row fails if it matches any of them. Each failing row is one table row, and the row sample contains the full rows.
Results count toward the Completeness data quality dimension.
Configuration
Severity, thresholds, sampled rows, and cadence work the same for all SQL data tests. See Configuration.
Examples
dbt equivalent
The dbtnot_null test checks for nulls from your dbt project. Checks for empty strings or zeros need a package test or a custom test in dbt. See Cloud tests or dbt tests to decide which to use.
