- Remove unnecessary macro to fix issue with 0.19.2 (#88)
-
Added a new macro,
expect_row_values_to_have_data_for_every_n_datepart
, which tests whether a model has values for every groupeddate_part
.For example, this tests whether a model has data for every
day
(grouped ondate_col
) from either a specifiedstart_date
andend_date
, or for themin
/max
value of the specifieddate_col
.tests: - dbt_expectations.expect_row_values_to_have_data_for_every_n_datepart: date_col: date_day date_part: day
-
Updated description of type check tests (#84 @noel)
-
Fixed
join
syntax because Twitter induced guilt: https://twitter.com/emilyhawkins__/status/1400967270537564160 -
Bump version of dbt-date to
< 0.4.0
(#85)
-
Added support for optional
min_value
andmax_value
parameters to all*_between_*
tests. (#70) -
Added support for
strictly
parameter tobetween
tests. If set toTrue
,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
- Corrected a typo in the README (#67)