diff --git a/test/models/marts/dim_customers.sql b/test/models/marts/dim_customers.sql index 37ecdb7..c6641c9 100644 --- a/test/models/marts/dim_customers.sql +++ b/test/models/marts/dim_customers.sql @@ -1,6 +1,4 @@ -{{ config(materialized='table') }} - with customers as ( select * from {{ ref('stg_customers') }} @@ -51,4 +49,4 @@ joined as ( ) -select * from joined \ No newline at end of file +select * from joined diff --git a/test/models/marts/fct_orders.sql b/test/models/marts/fct_orders.sql index a338c38..5289202 100644 --- a/test/models/marts/fct_orders.sql +++ b/test/models/marts/fct_orders.sql @@ -75,8 +75,8 @@ final as ( select *, customer_order_index = 1 as is_first_order, - count_food_items > 0 as is_food_order, - count_drink_items > 0 as is_drink_order + count_food_items >= 0 as is_food_order, + count_drink_items >= 0 as is_drink_order from joined