Skip to content

Commit 099cb14

Browse files
author
dbt Labs
committed
Merge branch 'main' of github.com:dbt-labs/jaffle-sl-testing into dbtlabssandbox-patch-5
2 parents 3d73d41 + 7e90879 commit 099cb14

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

models/marts/orders.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,12 @@ semantic_models:
8787
- name: ordered_at
8888
type: time
8989
type_params:
90-
time_granularity: day
90+
time_granularity: day
91+
- name: ordered_at_date
92+
type: time
93+
expr: date_trunc('day', ordered_at)::DATE
94+
type_params:
95+
time_granularity: day
9196
- name: order_total_dim
9297
type: categorical
9398
expr: order_total

0 commit comments

Comments
 (0)