Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Test #122

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions test/models/marts/dim_customers.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

{{ config(materialized='table') }}

with customers as (

select * from {{ ref('stg_customers') }}
Expand Down Expand Up @@ -51,4 +49,4 @@ joined as (

)

select * from joined
select * from joined
4 changes: 2 additions & 2 deletions test/models/marts/fct_orders.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading