-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate test YAML syntax to new data_test namespace to makeway for un…
…it_tests
- Loading branch information
1 parent
e22c717
commit e2df201
Showing
55 changed files
with
791 additions
and
558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: stg_email_clicks | ||
description: "Email clicks from Customer.io" | ||
tags: ["staging", "customer_io"] | ||
description: Email clicks from Customer.io | ||
tags: | ||
- staging | ||
- customer_io | ||
columns: | ||
- name: delivery_id | ||
description: "Unique ID for the email delivery" | ||
tests: | ||
- not_null | ||
- name: shop_subdomain | ||
description: "Shopify subdomain" | ||
tests: | ||
- not_null | ||
- name: delivery_id | ||
description: Unique ID for the email delivery | ||
data_tests: | ||
- not_null | ||
- name: shop_subdomain | ||
description: The foreign key for the Shop. | ||
data_tests: | ||
- not_null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: stg_email_conversions | ||
description: Staging table for email conversion details | ||
tags: ["staging", "customer_io"] | ||
tags: | ||
- staging | ||
- customer_io | ||
columns: | ||
- name: delivery_id | ||
description: "Unique ID for the email delivery" | ||
tests: | ||
- not_null | ||
- name: shop_subdomain | ||
description: "Shopify subdomain" | ||
tests: | ||
- not_null | ||
- name: delivery_id | ||
description: Unique ID for the email delivery | ||
data_tests: | ||
- not_null | ||
- name: shop_subdomain | ||
description: The foreign key for the Shop. | ||
data_tests: | ||
- not_null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: stg_email_opens | ||
description: "Email opens from Customer.io" | ||
tags: ["staging", "customer_io"] | ||
description: Email opens from Customer.io | ||
tags: | ||
- staging | ||
- customer_io | ||
columns: | ||
- name: delivery_id | ||
description: "Unique ID for the email delivery" | ||
tests: | ||
- not_null | ||
- name: shop_subdomain | ||
description: "Shopify subdomain" | ||
tests: | ||
- not_null | ||
- name: delivery_id | ||
description: Unique ID for the email delivery | ||
data_tests: | ||
- not_null | ||
- name: shop_subdomain | ||
description: The foreign key for the Shop. | ||
data_tests: | ||
- not_null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: int_shop_infos | ||
description: "Intermediate table for shop information" | ||
tags: ["intermediate"] | ||
description: Intermediate table for shop information | ||
tags: | ||
- intermediate | ||
columns: | ||
- name: shop_subdomain | ||
description: Shopify subdomain | ||
tests: | ||
description: The foreign key for the Shop. | ||
data_tests: | ||
- unique | ||
- name: updated_at | ||
description: The date the shop info was updated. | ||
tests: | ||
description: Used to build incremental models. | ||
data_tests: | ||
- not_null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
version: 2 | ||
|
||
models: | ||
- name: stg_constellation_users | ||
description: > | ||
This table contains all users in the ShopPad ecosystem. | ||
tags: ["staging"] | ||
description: "This table contains all users in the ShopPad ecosystem. | ||
" | ||
tags: | ||
- staging | ||
columns: | ||
- name: shop_subdomain | ||
description: Shopify subdomain | ||
tests: | ||
description: The foreign key for the Shop. | ||
data_tests: | ||
- unique |
4 changes: 2 additions & 2 deletions
4
models/google_analytics/intermediate/_int_app_store_attribution_schema.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
version: 2 | ||
models: | ||
- name: int_app_store_attribution | ||
tests: | ||
data_tests: | ||
- dbt_expectations.expect_table_row_count_to_be_between: | ||
min_value: 200 | ||
columns: | ||
- name: shop_subdomain | ||
tests: | ||
data_tests: | ||
- unique | ||
- not_null | ||
description: The foreign key for the Shop. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
version: 2 | ||
models: | ||
- name: int_shop_calendar | ||
tests: | ||
data_tests: | ||
- dbt_expectations.expect_compound_columns_to_be_unique: | ||
column_list: | ||
- dt | ||
- shop_subdomain | ||
columns: | ||
- name: shop_subdomain | ||
type: string | ||
tests: | ||
data_tests: | ||
- not_null | ||
description: The foreign key for the Shop. | ||
- name: dt | ||
tests: | ||
data_tests: | ||
- not_null | ||
description: The calendar date of the shop day. | ||
- name: daily_plan_revenue | ||
tests: | ||
data_tests: | ||
- not_null | ||
description: The amount of revenue from plan charges for this day. | ||
- name: MESA_PLAN | ||
- name: SHOPIFY_PLAN | ||
- name: is_shopify_zombie_plan | ||
tests: | ||
data_tests: | ||
- not_null | ||
description: | ||
Indicates whether the store is on a 'frozen', 'fraudulent', 'paused', | ||
'dormant' or 'cancelled' Shopify plan. TRUE means they are, FALSE means they | ||
are not. |
Oops, something went wrong.