Skip to content

Commit

Permalink
fix test expected
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulalgorithm committed Oct 22, 2024
1 parent fd31dd5 commit 768ac84
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions tests/dbt/cloud/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -399,34 +399,6 @@
"platform": "SNOWFLAKE"
}
},
{
"logicalId": {
"account": "[email protected]",
"name": "demo_db.metaphor.churn_region_agg",
"platform": "SNOWFLAKE"
}
},
{
"logicalId": {
"account": "[email protected]",
"name": "demo_db.metaphor.modular_campaigns",
"platform": "SNOWFLAKE"
}
},
{
"logicalId": {
"account": "[email protected]",
"name": "demo_db.metaphor.subscriptions_growth",
"platform": "SNOWFLAKE"
}
},
{
"logicalId": {
"account": "[email protected]",
"name": "demo_db.metaphor.subscriptions_v2",
"platform": "SNOWFLAKE"
}
},
{
"documentation": {
"datasetDocumentations": [],
Expand Down Expand Up @@ -454,13 +426,6 @@
"platform": "SNOWFLAKE"
}
},
{
"logicalId": {
"account": "[email protected]",
"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",
Expand Down

0 comments on commit 768ac84

Please sign in to comment.