Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 662 Bytes

expect_column_distinct_values_to_contain_set.md

File metadata and controls

15 lines (11 loc) · 662 Bytes

expect_column_distinct_values_to_contain_set (source)

Expect the set of distinct column values to contain a given set.

In contrast to expect_column_values_to_be_in_set this ensures not that all column values are members of the given set but that values from the set must be present in the column.

Applies to: Column

tests:
  - dbt_expectations.expect_column_distinct_values_to_contain_set:
      value_set: ['a','b']
      quote_values: true # (Optional. Default is 'true'.)
      row_condition: "id is not null" # (Optional)