Skip to content

Commit

Permalink
Add views for autoloaded datatypes (#159)
Browse files Browse the repository at this point in the history
* Add views for autoloaded datatypes

* Create views
  • Loading branch information
cristinaleonr authored Jun 12, 2023
1 parent 291fd16 commit 9a12256
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions views/create_dataset_views.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,12 @@ create_view ${SRC_PROJECT} ${DST_PROJECT} ndt_raw ./ndt_raw/hopannotation2.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ndt_raw ./ndt_raw/scamper1.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ndt_raw ./ndt_raw/tcpinfo.sql

# MSAK raw.
create_view ${SRC_PROJECT} ${DST_PROJECT} msak_raw ./msak_raw/ndt8.sql

# HOST raw.
create_view ${SRC_PROJECT} ${DST_PROJECT} host_raw ./host_raw/nodeinfo1.sql

# WEHE
create_view ${SRC_PROJECT} ${DST_PROJECT} wehe_raw ./wehe_raw/annotation2.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} wehe_raw ./wehe_raw/hopannotation2.sql
Expand Down
3 changes: 3 additions & 0 deletions views/host_raw/nodeinfo1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- This is the raw nodeinfo view.
--
SELECT * FROM `{{.ProjectID}}.raw_host.nodeinfo1`
3 changes: 3 additions & 0 deletions views/msak_raw/ndt8.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- This is the raw msak view.
--
SELECT * FROM `{{.ProjectID}}.raw_msak.ndt8`

0 comments on commit 9a12256

Please sign in to comment.