Skip to content

Row count (30-day average or min/max)

row_count - Table-level

Validates that a table's row count is within expected bounds, either fixed limits or a 30-day rolling average.

Parameters

Parameter Type Default Required Description
min_count int none No Minimum expected row count.
max_count int none No Maximum expected row count.
split_by_column str none No Datetime column to group rows by day; required for 30-day average mode.
tolerance_percent float none No With split_by_column, enables 30-day average mode: pass if today's count is within ± this percent of the 30-day average.

YAML example

checks:
  - name: example_row_count
    check_type: row_count
    table_name: schema.table

See YAML check format for the full field reference.