github calogica/dbt-expectations 0.3.4
dbt-expectations 0.3.4

latest releases: 0.10.3, 0.10.2, 0.10.1...
2 years ago

dbt-expectations v0.3.4

Features

  • Added support for optional min_value and max_value parameters to all*_between_* tests. (#70)

  • Added support for strictly parameter to between tests. If set to True, striclty changes the operators >= and <= to> and <.

    For example, while

    dbt_expectations.expect_column_stdev_to_be_between:
        min_value: 0

    evaluates to >= 0,

    dbt_expectations.expect_column_stdev_to_be_between:
        min_value: 0
        strictly: True

    evaluates to > 0.
    (#72, #74)

Fixes

  • Corrected a typo in the README (#67)

Under the hood

  • Refactored get_select function to generate SQL grouping more explicitly (#63))

  • Added dispatch call to expect_table_row_count_to_equal to make it easier to shim macros for the tsql-utils package (#64 Thanks @alieus!)

Don't miss a new dbt-expectations release

NewReleases is sending notifications on new releases.