Skip to content

Commit

Permalink
Fix #944: prevent NULL values to be included in quantiles (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem authored Jan 24, 2022
1 parent 5a5f99d commit 99624e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions checks/remotesettings/uptake_max_age.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@
event_uptake_telemetry AS et,
total_count_by_period AS tc
WHERE et.period = tc.period
AND et.channel = tc.channel
AND et.channel = tc.channel
AND et.age IS NOT NULL
-- This removes noise on periods where there is no change published.
-- See also https://bugzilla.mozilla.org/show_bug.cgi?id=1614716
AND (et.channel = 'nightly' AND total > 2000) OR total > 10000
AND ((et.channel = 'nightly' AND total > 2000) OR total > 10000)
GROUP BY et.channel
"""

Expand Down

0 comments on commit 99624e6

Please sign in to comment.