Skip to content

Commit

Permalink
Revert (rebased) 9baa80c (not cleaning up)
Browse files Browse the repository at this point in the history
  • Loading branch information
chronitis committed Feb 16, 2022
1 parent 2962c9b commit 4fb5d3b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dbt/include/athena/macros/adapters/relation.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% macro athena__drop_relation(relation) -%}
{% if config.get('incremental_strategy') == 'insert_overwrite' %}
{%- do adapter.clean_up_table(relation.schema, relation.table) -%}
{% endif %}
{%- do adapter.clean_up_table(relation.schema, relation.table) -%}
{% call statement('drop_relation', auto_begin=False) -%}
drop {{ relation.type }} if exists {{ relation }}
{%- endcall %}
Expand Down

0 comments on commit 4fb5d3b

Please sign in to comment.