Using Defer to Production in Paradime
dbt™ Defer to Production: Manage dbt™ project transitions to production environments efficiently. Ensure seamless deployment with Paradime.
Last updated
Was this helpful?
Was this helpful?
with orders as (
select * from `dbt-demo-project.dbt_prod.stg_orders`
),
final as (
select
customer_id,
min(order_date) as first_order,
max(order_date) as most_recent_order,
count(order_id) as number_of_orders
from orders
group by 1
)
select * from finalwith orders as (
select * from `dbt-demo-project.dbt_fabio.stg_orders`
),
final as (
select
customer_id,
min(order_date) as first_order,
max(order_date) as most_recent_order,
count(order_id) as number_of_orders
from orders
group by 1
)
select * from final