Skip to content

Commit

Permalink
Update data-tests.md
Browse files Browse the repository at this point in the history
Hi.
This modification proposal adds for the "accepted_values" test, a feature that it shares with the Unique test, not present in the text.
Regards.
IL.
  • Loading branch information
ialdg authored Apr 4, 2024
1 parent 96b3982 commit f978c09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/docs/reference/resource-properties/data-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ This test validates that all of the values in a column are present in a supplied

The `accepted_values` test supports an optional `quote` parameter which, by default, will single-quote the list of accepted values in the test query. To test non-strings (like integers or boolean values) explicitly set the `quote` config to `false`.

[comment]: To be coherent with Unique, since this feature is also available for this particular test (see examples already present below).
The config and where clause are optional.

<File name='schema.yml'>

```yaml
Expand Down

0 comments on commit f978c09

Please sign in to comment.