-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: nrodriguezmicrofocus <[email protected]> Co-authored-by: nrodriguezmicrofocus <[email protected]>
- Loading branch information
1 parent
62d7ea5
commit a6b8662
Showing
3 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ version: 2.0.0 | |
macro-paths: ["macros"] | ||
|
||
|
||
profile: vpn_samp | ||
profile: vpn_samp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
|
||
|
||
|
||
{% macro vertica__can_clone_table() %} | ||
{{ return(True) }} | ||
{% endmacro %} | ||
|
||
|
||
{% macro vertica__create_or_replace_clone(this_relation, defer_relation) %} | ||
SELECT COPY_TABLE ( {{ "'"+defer_relation|replace('"','')+"'"}}, {{ "'"+this_relation|replace('"','')+"'"}} ); | ||
|
||
SELECT COPY_TABLE ( {{ "'"+defer_relation|replace('"','')+"'"}}, {{ "'"+this_relation|replace('"','')+"'"}} ); | ||
|
||
|
||
{% endmacro %} |