-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since 1.1.0, the `on_warning_callback` functionality no longer works. It worked on 1.0.5 Closes: #549 Closes: #545 (the fix was necessary to make the `on_warning_callback` test pass) Co-authored-by: Edgaras Navickas <[email protected]> Co-authored-by: Marco Yuen <[email protected]>
- Loading branch information
1 parent
5ccc126
commit 4c8d6b0
Showing
9 changed files
with
139 additions
and
19 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
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,20 @@ | ||
name: 'mini' | ||
|
||
config-version: 2 | ||
version: '0.1' | ||
|
||
profile: 'mini' | ||
|
||
model-paths: ["models"] | ||
seed-paths: ["seeds"] | ||
test-paths: ["tests"] | ||
analysis-paths: ["analysis"] | ||
macro-paths: ["macros"] | ||
|
||
target-path: "target" | ||
clean-targets: | ||
- "target" | ||
- "dbt_modules" | ||
- "logs" | ||
|
||
require-dbt-version: [">=1.0.0", "<2.0.0"] |
Empty file.
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,12 @@ | ||
mini: | ||
target: dev | ||
outputs: | ||
dev: | ||
type: postgres | ||
host: "{{ env_var('POSTGRES_HOST') }}" | ||
user: "{{ env_var('POSTGRES_USER') }}" | ||
password: "{{ env_var('POSTGRES_PASSWORD') }}" | ||
port: "{{ env_var('POSTGRES_PORT') | int }}" | ||
dbname: "{{ env_var('POSTGRES_DB') }}" | ||
schema: "{{ env_var('POSTGRES_SCHEMA') }}" | ||
threads: 4 |
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,18 @@ | ||
version: 2 | ||
|
||
seeds: | ||
|
||
- name: mini_orders | ||
description: This table has basic information about orders, as well as some derived facts based on payments | ||
|
||
columns: | ||
|
||
- name: status | ||
description: 'Order status' | ||
tests: | ||
- accepted_values: | ||
# this will intentionally fail, since the seed has other values for this column | ||
values: ['placed'] | ||
config: | ||
severity: warn | ||
warn_if: ">1" |
Empty file.
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,10 @@ | ||
id,user_id,order_date,status | ||
1,1,2018-01-01,returned | ||
2,3,2018-01-02,completed | ||
3,22,2018-01-26,return_pending | ||
4,9,2018-03-17,shipped | ||
75,69,2018-03-18,completed | ||
76,25,2018-03-20,completed | ||
77,35,2018-03-21,shipped | ||
78,90,2018-03-23,shipped | ||
6,68,2018-03-26,placed |
Empty file.