-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix repo for gatekeeper cert #18
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Some comments, please review :)
@@ -0,0 +1,15 @@ | |||
WITH orders AS ( | |||
SELECT | |||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we usually encourage only necessary columns to be select as high up in he query as possible (but not a blocker)
) | ||
|
||
SELECT | ||
TRUNC(first_order, "MM") AS first_order_month |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if first_order is a timesamp, it should be localised before truncation :)
- not_null | ||
- name: first_name_hash | ||
tests: | ||
- dbt_expectations.expect_column_to_exist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
version: 2 | ||
|
||
models: | ||
- name: stg_customers_pii |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're missing a sensitive config on this _PII table (how do we know to put this model in consumer_sensitive db?)
No description provided.