diff --git a/dbt/include/vertica/macros/materializations/clone.sql b/dbt/include/vertica/macros/materializations/clone.sql index 6cbb3ee..a7649cd 100644 --- a/dbt/include/vertica/macros/materializations/clone.sql +++ b/dbt/include/vertica/macros/materializations/clone.sql @@ -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 %} \ No newline at end of file