From 5d3538c54e170e25c89a650f527c882b72417b8f Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Mon, 5 Dec 2022 09:53:13 -0500 Subject: [PATCH] Expression is true does not need a column --- dot/dbt/macros/test_expression_is_true.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot/dbt/macros/test_expression_is_true.sql b/dot/dbt/macros/test_expression_is_true.sql index 32edf35..4c0e5cd 100644 --- a/dot/dbt/macros/test_expression_is_true.sql +++ b/dot/dbt/macros/test_expression_is_true.sql @@ -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 %}