Skip to content

Commit

Permalink
use drop_relation instead of glue__drop_relation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent.PAUWELS committed Nov 20, 2023
1 parent 3e43a6e commit b611bb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
{% set build_sql = create_table_as(False, target_relation, sql) %}
{% endif %}
{% elif existing_relation_type == 'view' or should_full_refresh() %}
{{ glue__drop_relation(target_relation) }}
{{ drop_relation(target_relation) }}
{% if file_format == 'delta' %}
{{ adapter.delta_create_table(target_relation, sql, unique_key, partition_by, custom_location) }}
{% set build_sql = "select * from " + target_relation.schema + "." + target_relation.identifier + " limit 1 " %}
Expand Down

0 comments on commit b611bb5

Please sign in to comment.