Skip to content

Commit

Permalink
fix: make 5min view cover three months instead of one month (et/somen…
Browse files Browse the repository at this point in the history
…ergia-jardiner!150)

* fix: make 5min view cover three months instead of one month

Required by gda because they wanted to check older data when dset has or fixes gaps in the data

Ff this is enough, then there is nothing else to do. Otherwise we should evaluate making this view incremental
  • Loading branch information
diegoquintanav committed Jul 3, 2024
1 parent d6f8301 commit 70c8b73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ select
from {{ ref("int_dset_responses__values_incremental") }}
where
device_type in ('inverter', 'sensor', 'string', 'meter')
and ts > (now() at time zone 'Europe/Madrid')::date - interval '30 days'
and ts > (now() at time zone 'Europe/Madrid')::date - interval '3 months'
order by ts desc, plant_name asc

0 comments on commit 70c8b73

Please sign in to comment.