Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/use generic test naming style instead of schema test #521

Merged
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# dbt-utils v0.8.2
## Fixes
- Fix union_relations error from [#473](https://github.com/dbt-labs/dbt-utils/pull/473) when no include/exclude parameters are provided ([#505](https://github.com/dbt-labs/dbt-utils/issues/505), [#509](https://github.com/dbt-labs/dbt-utils/pull/509))
# dbt-utils v0.8.3
## New features
- A macro for deduplicating data ([#335](https://github.com/dbt-labs/dbt-utils/issues/335), [#512](https://github.com/dbt-labs/dbt-utils/pull/512))

## Quality of life
- Updated references to 'schema test' in project file structure and documentation referred to in [#485](https://github.com/dbt-labs/dbt-utils/issues/485)

# dbt-utils v0.8.1
# dbt-utils v0.8.2
## Fixes
- Fix union_relations error from [#473](https://github.com/dbt-labs/dbt-utils/pull/473) when no include/exclude parameters are provided ([#505](https://github.com/dbt-labs/dbt-utils/issues/505), [#509](https://github.com/dbt-labs/dbt-utils/pull/509))

joellabes marked this conversation as resolved.
Show resolved Hide resolved
## New features
- A cross-database implementation of `any_value()` ([#497](https://github.com/dbt-labs/dbt-utils/issues/497), [#501](https://github.com/dbt-labs/dbt-utils/pull/501))
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ For compatibility details between versions of dbt-core and dbt-utils, [see this
----
### Generic Tests
#### equal_rowcount ([source](macros/generic_tests/equal_rowcount.sql))
Asserts that two relations have the same number of rows.
Asserts the that two relations have the same number of rows.
joellabes marked this conversation as resolved.
Show resolved Hide resolved

**Usage:**
```yaml
Expand Down Expand Up @@ -186,7 +186,7 @@ models:
```

#### at_least_one ([source](macros/generic_tests/at_least_one.sql))
Asserts if a column has at least one value.
Asserts that a column has at least one value.

**Usage:**
```yaml
Expand All @@ -201,7 +201,7 @@ models:
```

#### not_constant ([source](macros/generic_tests/not_constant.sql))
Asserts if a column does not have the same value in all rows.
Asserts that a column does not have the same value in all rows.

**Usage:**
```yaml
Expand All @@ -216,7 +216,7 @@ models:
```

#### cardinality_equality ([source](macros/generic_tests/cardinality_equality.sql))
Asserts if values in a given column have exactly the same cardinality as values from a different column in a different model.
Asserts that values in a given column have exactly the same cardinality as values from a different column in a different model.

**Usage:**
```yaml
Expand Down Expand Up @@ -388,7 +388,7 @@ models:
<summary>Additional `gaps` and `zero_length_range_allowed` examples</summary>

**Understanding the `gaps` argument:**

Here are a number of examples for each allowed `gaps` argument.
* `gaps: not_allowed`: The upper bound of one record must be the lower bound of
the next record.
Expand Down Expand Up @@ -438,8 +438,8 @@ models:
</details>

#### sequential_values ([source](macros/generic_tests/sequential_values.sql))
Asserts that a column contains sequential values. It can be used
for both numeric values and datetime values, as follows:
This test confirms that a column contains sequential values. It can be used
for both numeric values, and datetime values, as follows:
```yml
version: 2

Expand Down