Fix typo in col name, move test to generic test
This commit is contained in:
parent
c2f2739e7e
commit
045ce1ec45
5 changed files with 14 additions and 7 deletions
8
code_thingies/dbtlearn/macros/positive_value.sql
Normal file
8
code_thingies/dbtlearn/macros/positive_value.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{% test positive_value(model, column_name) %}
|
||||
SELECT
|
||||
*
|
||||
FROM
|
||||
{{ model }}
|
||||
WHERE
|
||||
{{ column_name }} < 1
|
||||
{% endtest %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue