From 0f005fd457f438bf13a1508dcf68f3e1e38f30a5 Mon Sep 17 00:00:00 2001 From: "Joe Ste.Marie" Date: Mon, 17 Jan 2022 15:13:26 -0500 Subject: [PATCH 1/2] Add note about not_null_where deprecation to Readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9570ee54..23955975 100644 --- a/README.md +++ b/README.md @@ -245,6 +245,8 @@ models: #### not_null_where ([source](macros/schema_tests/test_not_null_where.sql)) This test validates that there are no null values present in a column for a subset of rows by specifying a `where` clause. +*Warning*: This test is no longer supported as starting in dbt v0.20.0, the built-in `not_null` test supports a `where` config. [See the dbt docs for more details](https://docs.getdbt.com/reference/resource-configs/where). + **Usage:** ```yaml version: 2 From 3b961e6fd6d2a3e100092b1dc5b3347321528b2f Mon Sep 17 00:00:00 2001 From: "Joe Ste.Marie" Date: Mon, 17 Jan 2022 22:36:26 -0500 Subject: [PATCH 2/2] Add docs to unique_where test --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 23955975..66a3ac99 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,8 @@ models: #### unique_where ([source](macros/schema_tests/test_unique_where.sql)) This test validates that there are no duplicate values present in a field for a subset of rows by specifying a `where` clause. +*Warning*: This test is no longer supported. Starting in dbt v0.20.0, the built-in `unique` test supports a `where` config. [See the dbt docs for more details](https://docs.getdbt.com/reference/resource-configs/where). + **Usage:** ```yaml version: 2 @@ -245,7 +247,7 @@ models: #### not_null_where ([source](macros/schema_tests/test_not_null_where.sql)) This test validates that there are no null values present in a column for a subset of rows by specifying a `where` clause. -*Warning*: This test is no longer supported as starting in dbt v0.20.0, the built-in `not_null` test supports a `where` config. [See the dbt docs for more details](https://docs.getdbt.com/reference/resource-configs/where). +*Warning*: This test is no longer supported. Starting in dbt v0.20.0, the built-in `not_null` test supports a `where` config. [See the dbt docs for more details](https://docs.getdbt.com/reference/resource-configs/where). **Usage:** ```yaml