Rules
A rule is one check on one asset. Add rules from a profile, or one at a time with Add rule on the asset’s Rules tab. Editors and admins can add and change rules.
Every rule has:
- a name you choose, shown in alerts;
- a check (the assertion type) and its settings: see rule types;
- a severity when it fails: Critical (default) or Warning;
- what a failure affects (its scope);
- optional filters, for most checks.
Changes take effect from the next run.
Outcomes
Section titled “Outcomes”Each run gives every rule one result:
| Outcome | Meaning |
|---|---|
PASSED |
The check passed. |
WARNING |
The check failed and the rule’s severity is Warning, or the check reported a warning itself (for example columns added by schema drift). |
FAILED |
The check failed and the rule’s severity is Critical. |
ERROR |
The check could not run: bad credentials, missing table or column, timeout. It counts as a warning, so broken monitoring is never silent. |
The table fails when any rule does not pass; the incident’s severity is the highest among its failing rules. See runs and incidents.
Status
Section titled “Status”Rules are Active, Paused (skipped in runs) or Archived (removed from the asset; history kept until retention ends).
What does a failure affect?
Section titled “What does a failure affect?”The scope tells DataLoris, and your team, what a failure may break. It is used for lineage impact; the check itself is the same either way.
| Check | Scope |
|---|---|
| Row count, schema drift, table freshness | Always the whole table. |
| Null check, unique, allowed values, column freshness | The checked columns by default. You can add more affected columns, or make it table-level (“a failure here breaks the whole table”). |
| Custom SQL | You choose: table-level, or column-level with at least one column. |
A rule marks at most 20 columns.
Filters
Section titled “Filters”Row count, null check, unique and allowed values accept filters to check only part of the table, for example recent partitions. Open Filters (advanced, JSON) in the rule form:
[ { "column": "event_date", "op": ">=", "value": "2026-01-01" }, { "column": "country", "op": "=", "value": "VN" }, { "column": "deleted_at", "op": "IS_NULL" }]| Field | Values |
|---|---|
column |
A column of the table. |
op |
=, !=, <, <=, >, >=, IS_NULL, IS_NOT_NULL |
value |
A string, number or boolean. Omit it for IS_NULL / IS_NOT_NULL. |
Filters are combined with AND; at most 10 per rule. Values are sent as query parameters, never pasted
into SQL. For anything more complex, use custom SQL.
Limits
Section titled “Limits”An asset can have up to 50 rules, and an import can add up to 50 at once.