From 5d0a623591799ce392685429be84a0becdde5aa3 Mon Sep 17 00:00:00 2001 From: Jono Gray Date: Tue, 21 Apr 2020 12:49:27 +0100 Subject: [PATCH] Standard redaction for unique visitor counts Co-Authored-By: James Harrison --- .../features/location/redacted_unique_vistor_counts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/flowmachine/flowmachine/features/location/redacted_unique_vistor_counts.py b/flowmachine/flowmachine/features/location/redacted_unique_vistor_counts.py index 8b59cb4ee1..69e495aa54 100644 --- a/flowmachine/flowmachine/features/location/redacted_unique_vistor_counts.py +++ b/flowmachine/flowmachine/features/location/redacted_unique_vistor_counts.py @@ -56,5 +56,6 @@ def _make_query(self): INNER JOIN ({self.unique_subscriber_counts.get_query()}) us USING ({location_columns}) + WHERE us.value - ref.value > 15 """ return sql