From 768ac840a42bda9fa87daa29c2cdc98992a1f642 Mon Sep 17 00:00:00 2001 From: Tsung-Ju Lii Date: Tue, 22 Oct 2024 10:40:46 +0800 Subject: [PATCH] fix test expected --- tests/dbt/cloud/expected.json | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/tests/dbt/cloud/expected.json b/tests/dbt/cloud/expected.json index 720fd5a9..807af456 100644 --- a/tests/dbt/cloud/expected.json +++ b/tests/dbt/cloud/expected.json @@ -399,34 +399,6 @@ "platform": "SNOWFLAKE" } }, - { - "logicalId": { - "account": "john.doe@metaphor.io", - "name": "demo_db.metaphor.churn_region_agg", - "platform": "SNOWFLAKE" - } - }, - { - "logicalId": { - "account": "john.doe@metaphor.io", - "name": "demo_db.metaphor.modular_campaigns", - "platform": "SNOWFLAKE" - } - }, - { - "logicalId": { - "account": "john.doe@metaphor.io", - "name": "demo_db.metaphor.subscriptions_growth", - "platform": "SNOWFLAKE" - } - }, - { - "logicalId": { - "account": "john.doe@metaphor.io", - "name": "demo_db.metaphor.subscriptions_v2", - "platform": "SNOWFLAKE" - } - }, { "documentation": { "datasetDocumentations": [], @@ -454,13 +426,6 @@ "platform": "SNOWFLAKE" } }, - { - "logicalId": { - "account": "john.doe@metaphor.io", - "name": "acme.ride_share.cleaned_bike_rides", - "platform": "SNOWFLAKE" - } - }, { "dbtModel": { "compiledSql": "\\n\\nwith\\n\\ncustomers as (\\n\\n select * from acme.jaffle_shop.stg_customers\\n\\n),\\n\\norders_mart as (\\n\\n select * from acme.jaffle_shop.orders\\n\\n),\\n\\norder_items_mart as (\\n\\n select * from acme.jaffle_shop.order_items\\n),\\n\\norder_summary as (\\n\\n select\\n customer_id,\\n\\n count(distinct om.order_id) as count_lifetime_orders,\\n count(distinct om.order_id) > 1 as is_repeat_buyer,\\n min(om.ordered_at) as first_ordered_at,\\n max(om.ordered_at) as last_ordered_at,\\n sum(oi.subtotal) as lifetime_spend_pretax,\\n sum(om.order_total) as lifetime_spend\\n\\n from orders_mart om\\n \\n left join order_items_mart oi on om.order_id = oi.order_id\\n \\n group by 1\\n\\n),\\n\\njoined as (\\n\\n select\\n customers.*,\\n order_summary.count_lifetime_orders,\\n order_summary.first_ordered_at,\\n order_summary.last_ordered_at,\\n order_summary.lifetime_spend_pretax,\\n order_summary.lifetime_spend,\\n\\n case\\n when order_summary.is_repeat_buyer then 'returning'\\n else 'new'\\n end as customer_type\\n\\n from customers\\n\\n left join order_summary\\n on customers.customer_id = order_summary.customer_id\\n\\n)\\n\\nselect * from joined",