Skip to content

Commit

Permalink
write sql good
Browse files Browse the repository at this point in the history
  • Loading branch information
cnolanminich authored and slopp committed Aug 8, 2024
1 parent 9d8d71c commit 6c38fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_project/models/CLEANED/orders_cleaned.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ select
sku,
dt,
cast(dt as datetime) as order_date,
date_trunc('month', order_date) as order_month
date_trunc('month', order_date) as order_month,
quantity * purchase_price as order_total
from {{ source("RAW_DATA", "orders") }}
{% if is_incremental() %}
Expand Down

0 comments on commit 6c38fbc

Please sign in to comment.