From 56f50992ca80fbea9f2010b80e54937f18e489af Mon Sep 17 00:00:00 2001 From: Anders Swanson Date: Wed, 22 May 2024 17:04:27 -0400 Subject: [PATCH] drop logging --- .../macros/relations/external_table/external_table.sql | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dbt/include/snowflake/macros/relations/external_table/external_table.sql b/dbt/include/snowflake/macros/relations/external_table/external_table.sql index b927b78a2..5a1bf0633 100644 --- a/dbt/include/snowflake/macros/relations/external_table/external_table.sql +++ b/dbt/include/snowflake/macros/relations/external_table/external_table.sql @@ -2,12 +2,8 @@ {% set file_format = config.get('file_format') %} {% set location = config.get('location') %} - - {# {%- set partitions = external.partitions -%} #} - - {{ log('XXX: columns: ' ~ columns, info=True) }} + {% set partitions = config.get('partitions') %} {% set partition_map = partitions|map(attribute='name')|join(', ') %} - {{ log('XXX: partition_map: ' ~ partition_map, info=True) }} {%- set is_csv = is_csv(file_format) -%} @@ -19,7 +15,6 @@ ( {%- for column in columns %} - {{ log('column: ' ~ column.name, info=True) }} {%- set column_alias = column.name %} {%- set col_expression -%} {%- set col_id = 'value:c' ~ loop.index if is_csv else 'value:' ~ column_alias -%}