Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 428 Bytes

not_constant.md

File metadata and controls

16 lines (12 loc) · 428 Bytes

not_constant (source)

Asserts that a column does not have the same value in all rows.

Usage:

 models:
  - name: model_name
    columns:
      - name: column_name
        tests:
          - dbt_utils.not_constant

This test supports the group_by_columns parameter; see Grouping in tests for details.