Skip to content

Commit

Permalink
commit one change
Browse files Browse the repository at this point in the history
  • Loading branch information
thehanggit committed Jan 8, 2025
1 parent 0d32873 commit 24d9188
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ good_detectors as (
),

-- filter last month's data for good detectors only
filtered_five_minute_agg as (
filtered_five_minute_agg_lastmonth as (
select
f.detector_id,
f.sample_date,
Expand All @@ -55,7 +55,7 @@ monthly_stats as (
-- consider using max_capacity
percentile_cont(0.95) within group (order by volume_sum) as volume_95th,
percentile_cont(0.95) within group (order by occupancy_avg) as occupancy_95th
from filtered_five_minute_agg
from filtered_five_minute_agg_lastmonth
group by detector_id
),

Expand Down

0 comments on commit 24d9188

Please sign in to comment.