Skip to content

Commit

Permalink
Materialize int events daily to a table (#1951)
Browse files Browse the repository at this point in the history
Materialize int events daily to table
  • Loading branch information
ravenac95 authored Aug 14, 2024
1 parent 8727a07 commit fef9577
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
we need to select distinct first and then do the grouping
#}

{{
config(
materialized='table',
partition_by={
"field": "time",
"data_type": "timestamp",
"granularity": "day",
}
)
}}

with events as (
select distinct
from_artifact_id,
Expand Down

0 comments on commit fef9577

Please sign in to comment.