Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 452 Bytes

fewer_rows_than.md

File metadata and controls

15 lines (11 loc) · 452 Bytes

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.