Given the below PostgreSQL compatible SQL
with calendar
as (
select t.day::date,
trunc(random() * 3 + 1) max_version_daily,
trunc(random() * 3 + 1) max_version_hourly
from generate_series(timestamp '2010-01-01', timestamp '2022-01-31', interval '1 day') as t(day)
),