Skip to content

Commit

Permalink
Add pass-through view for autoloaded autonode ndt7 data (#187)
Browse files Browse the repository at this point in the history
* Add pass-through view for autonode data

* Add deploy step
  • Loading branch information
stephen-soltesz authored Dec 3, 2024
1 parent 2cfbc0e commit bf9af92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions views/autojoin_autoload_v2_ndt/ndt7_union.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--
-- This view is a pass-through for all annotated ndt7 data from autonode deployments.
--
SELECT * FROM `mlab-autojoin.autoload_v2_ndt.ndt7_union`
3 changes: 3 additions & 0 deletions views/create_dataset_views.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ create_view ${DST_PROJECT} ${DST_PROJECT} ndt ./ndt/unified_uploads.sql
sed -e 's/EXCEPT.*//' -e 's/WHERE IsValidBest//' ./ndt/unified_uploads.sql > ./ndt/unified_uploads_nofilter.SQL~
create_view ${DST_PROJECT} ${DST_PROJECT} ndt ./ndt/unified_uploads_nofilter.SQL~

# Autojoin NDT7 data.
create_view ${SRC_PROJECT} ${DST_PROJECT} autojoin_autoload_v2_ndt ./autojoin_autoload_v2_ndt/ndt7_union.sql

# traceroute.
create_view ${SRC_PROJECT} ${DST_PROJECT} traceroute ./traceroute/scamper1.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} traceroute ./traceroute/paris1_legacy.sql
Expand Down

0 comments on commit bf9af92

Please sign in to comment.