Skip to content

Commit

Permalink
partition fee_stats
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Perri authored and Lucas Perri committed Dec 13, 2023
1 parent 7580f1e commit fa94bcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion models/marts/fee_stats_agg.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{{ config(
materialized='incremental',
unique_key=["day_agg"]
unique_key=["day_agg"],
partition_by={
"field": "day_agg"
, "data_type": "date"
, "granularity": "month"}
)
}}

Expand Down

0 comments on commit fa94bcd

Please sign in to comment.