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)

Merge branch 'fix/extend-5min-view-to-90-days' into 'main'
  • Loading branch information
diegoquintanav committed Jul 3, 2024
2 parents d6f8301 + 70c8b73 commit a63e74f
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 a63e74f

Please sign in to comment.