From df5e496bf4a56eb7e3ef12acae6be2f9e1628923 Mon Sep 17 00:00:00 2001 From: Brent Shreve <77312184+shreveasaurus@users.noreply.github.com> Date: Thu, 30 May 2024 10:28:02 -0400 Subject: [PATCH 1/5] Update shopify__daily_shop.sql Update code to include new 'delayed' status from Shopify --- models/shopify__daily_shop.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/shopify__daily_shop.sql b/models/shopify__daily_shop.sql index e26fec4..5bf948f 100644 --- a/models/shopify__daily_shop.sql +++ b/models/shopify__daily_shop.sql @@ -97,7 +97,7 @@ final as ( coalesce(daily_abandoned_checkouts.count_customer_emails_abandoned_checkout, 0) as count_customer_emails_abandoned_checkout {% if var('shopify_using_fulfillment_event', false) %} - {% for status in ['attempted_delivery', 'delivered', 'failure', 'in_transit', 'out_for_delivery', 'ready_for_pickup', 'picked_up', 'label_printed', 'label_purchased', 'confirmed']%} + {% for status in ['attempted_delivery', 'delayed', 'delivered', 'failure', 'in_transit', 'out_for_delivery', 'ready_for_pickup', 'picked_up', 'label_printed', 'label_purchased', 'confirmed']%} , coalesce(count_fulfillment_{{ status }}, 0) as count_fulfillment_{{ status }} {% endfor %} {% endif %} @@ -119,4 +119,4 @@ final as ( select * -from final \ No newline at end of file +from final From 89f0b09ee06fa74cefc27dcda6b258b0600bafe9 Mon Sep 17 00:00:00 2001 From: Brent Shreve <77312184+shreveasaurus@users.noreply.github.com> Date: Thu, 30 May 2024 10:35:25 -0400 Subject: [PATCH 2/5] Bump package version --- dbt_project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt_project.yml b/dbt_project.yml index b38df2a..c79b648 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: 'shopify' -version: '0.12.0' +version: '0.12.1' config-version: 2 require-dbt-version: [">=1.3.0", "<2.0.0"] models: @@ -47,4 +47,4 @@ vars: shopify_abandoned_checkout_discount_code: "{{ ref('stg_shopify__abandoned_checkout_discount_code') }}" shopify_order_discount_code: "{{ ref('stg_shopify__order_discount_code') }}" shopify_abandoned_checkout_shipping_line: "{{ ref('stg_shopify__abandoned_checkout_shipping_line') }}" - shopify_fulfillment_event: "{{ ref('stg_shopify__fulfillment_event') }}" \ No newline at end of file + shopify_fulfillment_event: "{{ ref('stg_shopify__fulfillment_event') }}" From f271d18f14a6ab5b439b350f3cdee765ae189f81 Mon Sep 17 00:00:00 2001 From: Brent Shreve <77312184+shreveasaurus@users.noreply.github.com> Date: Thu, 30 May 2024 10:38:52 -0400 Subject: [PATCH 3/5] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60f1784..6fa30ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# dbt_shopify v0.12.1 + +PR # includes the following updates: + +## 🪲 Bug Fixes 🪛 +-Added support for a new 'delayed' fulfillment event status from Shopify. + # dbt_shopify v0.12.0 [PR #76](https://github.com/fivetran/dbt_shopify/pull/76) includes the following updates: From 1baf5702a6596abcc888cb2690f52d022ef42cb3 Mon Sep 17 00:00:00 2001 From: Brent Shreve <77312184+shreveasaurus@users.noreply.github.com> Date: Thu, 30 May 2024 10:42:59 -0400 Subject: [PATCH 4/5] Bump project version --- integration_tests/dbt_project.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index ceb6fff..5b51161 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'shopify_integration_tests' -version: '0.12.0' +version: '0.12.1' profile: 'integration_tests' config-version: 2 @@ -191,4 +191,4 @@ seeds: shopify_tax_line_data: +column_types: price: float - rate: float \ No newline at end of file + rate: float From 946f7b4d6072a0dffe98b12a142bcb51cb3dea08 Mon Sep 17 00:00:00 2001 From: Brent Shreve <77312184+shreveasaurus@users.noreply.github.com> Date: Thu, 30 May 2024 10:52:34 -0400 Subject: [PATCH 5/5] Update link to PR in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa30ad..6908325 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # dbt_shopify v0.12.1 -PR # includes the following updates: +[PR #81](https://github.com/fivetran/dbt_shopify/pull/81) includes the following updates: ## 🪲 Bug Fixes 🪛 -Added support for a new 'delayed' fulfillment event status from Shopify.