Skip to content

Commit aa15e95

Browse files
committed
using make_temp_table_relation macro because it randomizes a different name per execution
1 parent 9b945b9 commit aa15e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/utils/table_operations/create_temp_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
schema=schema_name,
88
identifier=table_name,
99
type='table') -%}
10-
{% set temp_table_relation = elementary.edr_make_temp_relation(temp_table_relation) %}
10+
{% set temp_table_relation = elementary.make_temp_table_relation(temp_table_relation) %}
1111
{% if temp_table_exists %}
1212
{% do adapter.drop_relation(temp_table_relation) %}
1313
{% do elementary.run_query(dbt.create_table_as(True, temp_table_relation, sql_query)) %}

0 commit comments

Comments
 (0)