Skip to content

Comments

Fix repo for gatekeeper cert#18

Open
johnpilgrim0 wants to merge 12 commits intomainfrom
gatekeeper-cert/johnpilgrim
Open

Fix repo for gatekeeper cert#18
johnpilgrim0 wants to merge 12 commits intomainfrom
gatekeeper-cert/johnpilgrim

Conversation

@johnpilgrim0
Copy link

No description provided.

Copy link

@evb123 evb123 left a 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
*
Copy link

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
Copy link

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
Copy link

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
Copy link

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants