From 3984329733fcd332674e76841206a76b9324147b Mon Sep 17 00:00:00 2001 From: VersusFacit Date: Tue, 8 Oct 2024 14:38:52 -0700 Subject: [PATCH] Revert changes to external volume --- dbt/include/snowflake/macros/relations/dynamic_table/create.sql | 2 +- .../snowflake/macros/relations/dynamic_table/replace.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt/include/snowflake/macros/relations/dynamic_table/create.sql b/dbt/include/snowflake/macros/relations/dynamic_table/create.sql index 92fc53a26..f8a6ea4d7 100644 --- a/dbt/include/snowflake/macros/relations/dynamic_table/create.sql +++ b/dbt/include/snowflake/macros/relations/dynamic_table/create.sql @@ -73,7 +73,7 @@ create dynamic iceberg table {{ relation }} target_lag = '{{ dynamic_table.target_lag }}' warehouse = {{ dynamic_table.snowflake_warehouse }} - external_volume = '{{ dynamic_table.catalog.external_volume }}' + {{ optional('external_volume', dynamic_table.catalog.external_volume) }} catalog = '{{ dynamic_table.catalog.name }}' base_location = '{{ dynamic_table.catalog.base_location }}' {{ optional('refresh_mode', dynamic_table.refresh_mode) }} diff --git a/dbt/include/snowflake/macros/relations/dynamic_table/replace.sql b/dbt/include/snowflake/macros/relations/dynamic_table/replace.sql index f7ea0619d..1a28eebad 100644 --- a/dbt/include/snowflake/macros/relations/dynamic_table/replace.sql +++ b/dbt/include/snowflake/macros/relations/dynamic_table/replace.sql @@ -72,7 +72,7 @@ create or replace dynamic iceberg table {{ relation }} target_lag = '{{ dynamic_table.target_lag }}' warehouse = {{ dynamic_table.snowflake_warehouse }} - external_volume = '{{ dynamic_table.catalog.external_volume }}' + {{ optional('external_volume', dynamic_table.catalog.external_volume) }} catalog = '{{ dynamic_table.catalog.name }}' base_location = '{{ dynamic_table.catalog.base_location }}' {{ optional('refresh_mode', dynamic_table.refresh_mode) }}