Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 718 Bytes

expect_column_values_to_be_increasing.md

File metadata and controls

16 lines (12 loc) · 718 Bytes

expect_column_values_to_be_increasing (source)

Expect column values to be increasing.

If strictly: True, then this expectation is only satisfied if each consecutive value is strictly increasing – equal values are treated as failures.

Applies to: Column

tests:
  - dbt_expectations.expect_column_values_to_be_increasing:
      sort_column: date_day
      row_condition: "id is not null" # (Optional)
      strictly: true # (Optional for comparison operator. Default is 'true', and it uses '>'. If set to 'false' it uses '>='.)
      group_by: [group_id, other_group_id, ...] # (Optional)