Skip to content

Commit

Permalink
Add default macro (#25)
Browse files Browse the repository at this point in the history
* Add default macro

* Bump version
  • Loading branch information
LewisDavies authored Nov 22, 2023
1 parent 18bdf9c commit f918305
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_project.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'upstream_prod'
version: '0.7.1'
version: '0.7.2'
config-version: 2

require-dbt-version: [">=1.5.0", "<2.0.0"]
Expand Down
4 changes: 4 additions & 0 deletions macros/get_table_update_ts.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
{{ return(adapter.dispatch("get_table_update_ts", "upstream_prod")(relation)) }}
{% endmacro %}

{% macro default__get_table_update_ts(relation) %}
-- This is intentionally blank to avoid an error on non-compatible databases
{% endmacro %}

{% macro snowflake__get_table_update_ts(relation) %}

{% set table_info_query %}
Expand Down

0 comments on commit f918305

Please sign in to comment.