-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1168 from fishtown-analytics/fix/snowflake-drops-…
…wrong-backup-type drop the correct relation type on snowflake when building tables [#1103]
- Loading branch information
Showing
4 changed files
with
35 additions
and
8 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
8 changes: 8 additions & 0 deletions
8
test/integration/017_runtime_materialization_tests/create_backup_and_original.sql
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
create view {schema}.materialized as ( | ||
select 1 as id | ||
); | ||
|
||
create table {schema}.materialized__dbt_backup ( | ||
id BIGSERIAL PRIMARY KEY | ||
); |
2 changes: 1 addition & 1 deletion
2
test/integration/017_runtime_materialization_tests/create_view__dbt_tmp.sql
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,4 +1,4 @@ | ||
|
||
create view {schema}.view_model__dbt_tmp as ( | ||
create view {schema}.view__dbt_tmp as ( | ||
select 1 as id | ||
); |
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