fewer_rows_than (source)
Asserts that the respective model has fewer rows than the model being compared.
Usage:
models:
- name: model_name
tests:
- dbt_utils.fewer_rows_than:
compare_model: ref('other_table_name')
This test supports the group_by_columns
parameter; see Grouping in tests for details.