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

adding space and creating fake id #115

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
testing
  • Loading branch information
jerriek committed Oct 31, 2024
commit 9dbe1fa021bcb21c8533f9959a055ff4b26bf3b5
22 changes: 11 additions & 11 deletions models/marts/finance/_finance__models.yml
Original file line number Diff line number Diff line change
@@ -12,9 +12,9 @@ models:
columns:
- name: order_item_id
description: '{{ doc("order_item_id") }}'
data_tests:
- unique
- not_null
# data_tests:
# - unique
# - not_null
- name: order_id
description: foreign id for orders
- name: order_date
@@ -69,16 +69,16 @@ models:
columns:
- name: order_id
description: primary id of the model
data_tests:
- unique
- not_null
# data_tests:
# - unique
# - not_null
- name: customer_id
description: foreign id for customers
data_tests:
- relationships:
to: ref('dim_customers')
field: customer_id
severity: error
# data_tests:
# - relationships:
# to: ref('dim_customers')
# field: customer_id
# severity: error
- name: order_date
description: date of the order
- name: status_code