From 0427da8bb6adf82a6d6866dc4bc9b5edfd84439f Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 31 Aug 2023 18:55:42 -0400 Subject: [PATCH] add table to replace --- .../global_project/macros/relations/table/replace.sql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 core/dbt/include/global_project/macros/relations/table/replace.sql diff --git a/core/dbt/include/global_project/macros/relations/table/replace.sql b/core/dbt/include/global_project/macros/relations/table/replace.sql new file mode 100644 index 00000000000..69bfa2deeb8 --- /dev/null +++ b/core/dbt/include/global_project/macros/relations/table/replace.sql @@ -0,0 +1,10 @@ +{% macro get_replace_table_sql(relation, sql) %} + {{- adapter.dispatch('get_replace_table_sql', 'dbt')(relation, sql) -}} +{% endmacro %} + + +{% macro default__get_replace_table_sql(relation, sql) %} + {{ exceptions.raise_compiler_error( + "`get_replace_table_sql` has not been implemented for this adapter." + ) }} +{% endmacro %}