Created
March 11, 2019 23:15
-
-
Save austindoeswork/c1f04aa96b2f36881a453996346a879a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
tests.test_enum || ', ' || (s.time_spent_working::float / (s.duration::float / 1000.0)) | |
from segments s | |
inner join calls c on c.id = s.call_id | |
inner join call_tests tests on tests.call_id = c.id | |
where c.status = 600 | |
and (s.time_spent_working::float / (s.duration::float / 1000.0)) < 30.0 -- remove potential outliers | |
and tests.test_uid = 'label_swap' | |
order by tests.test_enum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment