Skip to content

Commit

Permalink
restore macro definition headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Jan 28, 2025
1 parent 9b05a8c commit 6abab94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbt-tests-adapter/src/dbt/tests/adapter/utils/base_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@


macros__equals_sql = """
{% macro equals(expr1, expr2) -%}
{%- if adapter.behavior.enable_truthy_nulls_equals_macro.no_warn %}
case when (({{ expr1 }} = {{ expr2 }}) or ({{ expr1 }} is null and {{ expr2 }} is null))
{%- else -%}
Expand All @@ -11,6 +12,7 @@
then 0
else 1
end = 0
{% endmacro %}
"""

macros__test_assert_equal_sql = """
Expand Down

0 comments on commit 6abab94

Please sign in to comment.