Skip to content

Commit

Permalink
Merge pull request #72 from datakind/minor-fixes_1c04534
Browse files Browse the repository at this point in the history
Expression is true does not need a column
  • Loading branch information
JanPeterDatakind authored Mar 14, 2023
2 parents 566d3b2 + 5d3538c commit 162f9ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dot/dbt/macros/test_expression_is_true.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-- wrapper around dbt_utils.expression_is_true including the name
-- Commented out column as the expression determines that
{% test expression_is_true(model, expression, column_name=None, condition='1=1', name='do_set_name') %}
{{ return(adapter.dispatch('test_expression_is_true', 'dbt_utils')(model, expression, column_name, condition)) }}
{{ return(adapter.dispatch('test_expression_is_true', 'dbt_utils')(model, expression, '', condition)) }}
{% endtest %}

0 comments on commit 162f9ef

Please sign in to comment.