Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beep #108

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

beep #108

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
6 changes: 5 additions & 1 deletion models/staging/stripe/stg_stripe__payments.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@

-- example showing staging model after snapshot

select
-- ids
id as payment_id,
orderid as order_id,

3 as three_column,
4 as four_column,
5 as five_column,
6 as six_column,
-- descriptions
paymentmethod as payment_method,
status,
Expand Down