Skip to content

Commit

Permalink
Merge branch 'heads/0.9.3' into utils-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
joellabes committed Oct 27, 2022
2 parents 31c503d + b08f7bb commit 17b017d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions macros/cross_db_utils/deprecated/xdb_deprecation_warning.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{% macro xdb_deprecation_warning_without_replacement(macro, package, model) %}
{%- set error_message = "Warning: the `" ~ macro ~"` macro is deprecated and will be removed in a future version of the package, once equivalent functionality is implemented in dbt Core. The " ~ package ~ "." ~ model ~ " model triggered this warning." -%}
{%- do exceptions.warn(error_message) -%}
{% if execute %}
{%- set error_message = "Warning: the `" ~ macro ~"` macro is deprecated and will be removed in a future version of the package, once equivalent functionality is implemented in dbt Core. The " ~ package ~ "." ~ model ~ " model triggered this warning." -%}
{%- do exceptions.warn(error_message) -%}
{% endif %}
{% endmacro %}

0 comments on commit 17b017d

Please sign in to comment.