Skip to content

Commit

Permalink
Use ndt5 legacy view (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz authored Feb 9, 2022
1 parent f388ebd commit 30607ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/ndt_intermediate/extended_ndt5_downloads.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WITH ndt5downloads AS (
SELECT partition_date, ParseInfo, result.S2C,
(result.S2C.Error != "") AS IsErrored,
TIMESTAMP_DIFF(result.S2C.EndTime, result.S2C.StartTime, MICROSECOND) AS connection_duration
FROM `{{.ProjectID}}.ndt.ndt5` -- TODO move to intermediate_ndt
FROM `{{.ProjectID}}.ndt_raw.ndt5_legacy` -- TODO move to intermediate_ndt
-- Limit to valid S2C results
WHERE result.S2C IS NOT NULL
AND result.S2C.UUID IS NOT NULL
Expand Down
2 changes: 1 addition & 1 deletion views/ndt_intermediate/extended_ndt5_uploads.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WITH ndt5uploads AS (
SELECT partition_date, ParseInfo, result.C2S,
(result.C2S.Error != "") AS IsErrored,
TIMESTAMP_DIFF(result.C2S.EndTime, result.C2S.StartTime, MICROSECOND) AS connection_duration
FROM `{{.ProjectID}}.ndt.ndt5` -- TODO move to intermediate_ndt
FROM `{{.ProjectID}}.ndt_raw.ndt5_legacy` -- TODO move to intermediate_ndt
-- Limit to valid C2S results
WHERE result.C2S IS NOT NULL
AND result.C2S.UUID NOT IN ( '', 'ERROR_DISCOVERING_UUID' )
Expand Down

0 comments on commit 30607ea

Please sign in to comment.