Skip to content

Commit cb6b4c4

Browse files
Merge pull request #7793 from segmentio/fix-5465
Fix code snippet in Anomaly Detection docs
2 parents 2900ed8 + be73956 commit cb6b4c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/protocols/apis-and-extensions/anomaly_detection.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ total_violations as (
8787
group by event_sent_at::date
8888
)
8989

90-
select v.date,
91-
t.total_event_count "Total Violation Count",
92-
nvl(v.violation_count, 0) "Total Event Count",
90+
select t.date,
91+
t.total_event_count "Total Event Count",
92+
nvl(v.violation_count, 0) "Total Violation Count",
9393
nvl(v.violation_count, 0)::float/t.total_event_count::float as "Violations Per Event"
9494
from total_track_event_volume t
9595
left join total_violations v

0 commit comments

Comments
 (0)