diff --git a/dbt_project.yml b/dbt_project.yml index b597dad..0099e21 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -41,7 +41,3 @@ models: +materialized: view marts: +materialized: table - -saved-queries: - +cache: - enabled: true diff --git a/models/marts/customer360/order_items.sql b/models/marts/customer360/order_items.sql index 6f4ceea..0ef4ed1 100644 --- a/models/marts/customer360/order_items.sql +++ b/models/marts/customer360/order_items.sql @@ -38,7 +38,7 @@ order_supplies_summary as ( joined as ( select order_items.*, - products.product_price, + products.product_price as product_price_renamed, order_supplies_summary.supply_cost, products.is_food_item, products.is_drink_item, diff --git a/models/marts/customer360/order_items.yml b/models/marts/customer360/order_items.yml index 8c82fe5..c65b1c7 100644 --- a/models/marts/customer360/order_items.yml +++ b/models/marts/customer360/order_items.yml @@ -144,6 +144,7 @@ saved_queries: - name: order_data_key_metrics config: export_as: table + - name: weekly_revenue description: Weekly revenue query_params: