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

dbt_utils_expression_is_true test assertion #52

Open
jack-env opened this issue Jan 20, 2023 · 0 comments
Open

dbt_utils_expression_is_true test assertion #52

jack-env opened this issue Jan 20, 2023 · 0 comments

Comments

@jack-env
Copy link
Collaborator

Bug description

droughty asserts dbt_utils_expression_is_true test on columns application_valid_from_dt and application_valid_to_dt:

- 'dbt_utils.expression_is_true:expression: valid_from < valid_to'

Expected behaviour

In this use case, I would expect only the not_null test to have been assigned by droughty to these date columns (flagged by 'dt' syntax in column name).

Screenshots/Video

Screenshot 2023-01-20 at 11 04 01

Workaround

Using test_overwrite: in droughty_schema.yaml to redefine all tests for the model in question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant