Skip to content

Commit

Permalink
Adding
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin-Thakur committed Nov 3, 2023
1 parent f0fddab commit 019f146
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions dbt/include/vertica/macros/materializations/clone.sql
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@



{% macro vertica__can_clone_table() %}
{{ return(True) }}
{% endmacro %}


{% macro vertica__create_or_replace_clone(this_relation, defer_relation) %}


create table
{{ this_relation }} as select * from {{ defer_relation }}

{{ this_relation }} as select * from
{{ defer_relation }}


{% endmacro %}

0 comments on commit 019f146

Please sign in to comment.