Skip to content

Commit

Permalink
Set limits
Browse files Browse the repository at this point in the history
  • Loading branch information
ifoukarakis committed Oct 14, 2024
1 parent 391eb42 commit 4c967d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ from
{{ source('mm_telemetry_prod', 'event') }}
where
{% if is_incremental() %}
-- Hack to disable incremental for now
-- Hack to run only once
false
{% else %}
received_at < current_date()
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ from
{{ source('mm_telemetry_prod', 'event') }}
where
received_at >= (select max(received_at) FROM {{ ref('base_events') }})
qualify 1 = row_number() over(partition by id order by received_at desc)
qualify 1 = row_number() over (partition by id order by received_at desc)

0 comments on commit 4c967d7

Please sign in to comment.