Skip to content

Commit

Permalink
Change intersection_uid to id
Browse files Browse the repository at this point in the history
Chris prefers this id for entering into his tracker.
  • Loading branch information
gabrielwol authored Jul 30, 2024
1 parent fa0769e commit 9607bfd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
WITH ongoing_outages AS (
SELECT
i.intersection_name || ' (uid: ' || i.intersection_uid || ') - data last received: '
i.intersection_name || ' (id: ' || i.id || ') - data last received: '
|| MAX(v.datetime_bin::date) || ' (' || '{{ macros.ds_add(ds, 6) }}'::date --noqa: TMP, LT05
- MAX(v.datetime_bin::date) || ' days)' AS descrip
FROM miovision_api.volumes AS v
Expand All @@ -23,4 +23,4 @@ SELECT
|| CASE WHEN COUNT(ongoing_outages.*) = 1 THEN ' ongoing outage.' ELSE ' ongoing outages.'
END AS summ, --gap_threshold
array_agg(ongoing_outages.descrip || chr(10)) AS gaps
FROM ongoing_outages
FROM ongoing_outages

0 comments on commit 9607bfd

Please sign in to comment.