Skip to content

Commit

Permalink
example for training
Browse files Browse the repository at this point in the history
  • Loading branch information
Faith Lierheimer committed Oct 6, 2024
1 parent bad4085 commit 87801d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion models/staging/stripe/_stripe__sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@ sources:
- name: status
data_tests:
- accepted_values:
values: ['success', 'fail']
values: ['success', 'fail']
- name: amount
data_tests:
- dbt_utils.accepted_range:
min_value: 0
max_value: 10000
1 change: 1 addition & 0 deletions models/staging/stripe/stg_stripe__payments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ select
id as payment_id,
orderid as order_id,
3 as three_column,
4 as four_column,
-- descriptions
paymentmethod as payment_method,
status,
Expand Down

0 comments on commit 87801d2

Please sign in to comment.