Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 537 Bytes

expect_column_distinct_count_to_be_less_than.md

File metadata and controls

14 lines (11 loc) · 537 Bytes

expect_column_distinct_count_to_be_less_than (source)

Expect the number of distinct column values to be less than a given value.

Applies to: Column

tests:
  - dbt_expectations.expect_column_distinct_count_to_be_less_than:
      value: 10
      quote_values: true # (Optional. Default is 'true'.)
      group_by: [group_id, other_group_id, ...] # (Optional)
      row_condition: "id is not null" # (Optional)