-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if a snowflake column exists before altering its comment (#3149)
* Check if column exists when altering column comments in snowflake * Add new test class for persist docs models with missing columns * Parallel run all integration tests after unit (#3328) * don't clobber default args * update changelog * Update changelog for PR #3149 * Pull in upstream changes Co-authored-by: Jeremy Cohen <jeremy@fishtownanalytics.com> Co-authored-by: Kyle Wigley <kyle@fishtownanalytics.com>
- Loading branch information
1 parent
920ef85
commit 89cc53d
Showing
5 changed files
with
48 additions
and
2 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
2 changes: 2 additions & 0 deletions
2
test/integration/060_persist_docs_tests/models-column-missing/missing_column.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,2 @@ | ||
{{ config(materialized='table') }} | ||
select 1 as id, 'Ed' as name |
8 changes: 8 additions & 0 deletions
8
test/integration/060_persist_docs_tests/models-column-missing/schema.yml
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 @@ | ||
version: 2 | ||
models: | ||
- name: missing_column | ||
columns: | ||
- name: id | ||
description: "test id column description" | ||
- name: column_that_does_not_exist | ||
description: "comment that cannot be created" |
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