From ee32b41ee92e137b54bee15f3faffd160cc524c8 Mon Sep 17 00:00:00 2001 From: gabrielwol <80077912+gabrielwol@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:31:27 +0000 Subject: [PATCH] #868, #879 remove intersection_movement filter (remains as insert filter) --- .../sql/views/create-view-volumes_15min_mvt_filtered.sql | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volumes/miovision/sql/views/create-view-volumes_15min_mvt_filtered.sql b/volumes/miovision/sql/views/create-view-volumes_15min_mvt_filtered.sql index 0ac48f4a3..828b04af8 100644 --- a/volumes/miovision/sql/views/create-view-volumes_15min_mvt_filtered.sql +++ b/volumes/miovision/sql/views/create-view-volumes_15min_mvt_filtered.sql @@ -7,10 +7,6 @@ CREATE OR REPLACE VIEW miovision_api.volumes_15min_mvt_filtered AS ( v15.movement_uid, v15.volume FROM miovision_api.volumes_15min_mvt_unfiltered AS v15 - --only include "common" movements - JOIN miovision_api.intersection_movements USING ( - intersection_uid, classification_uid, leg, movement_uid - ) --anti join unacceptable_gaps LEFT JOIN miovision_api.unacceptable_gaps AS un USING (datetime_bin, intersection_uid) --anti join anomalous_ranges