Skip to content

Commit

Permalink
Update stats queries with corrected script (#102)
Browse files Browse the repository at this point in the history
* add stats-pipeline queries to bash script that actually creates the views.

* corrected first argument in new create_view commands to alklow the mlab-oti to measurement-lab deployment.

* added dataset parameter
  • Loading branch information
critzo authored Jul 2, 2021
1 parent ed18bcb commit da00713
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions views/create_dataset_views.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,18 @@ create_view ${DST_PROJECT} ${DST_PROJECT} website ./website/entry07_platform_hou
create_view ${DST_PROJECT} ${DST_PROJECT} website ./website/entry07_platform_hourly_uploads_before.sql

# stats-pipeline
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_global_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_continents.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_continents_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_countries.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_countries_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_regions.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_regions_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_cities.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_cities_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_us_states.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_us_states_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_us_counties.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} ./statistics/v0_us_counties_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_global_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_continents.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_continents_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_countries.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_countries_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_regions.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_regions_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_cities.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_cities_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_us_states.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_us_states_asn.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_us_counties.sql
create_view ${SRC_PROJECT} ${DST_PROJECT} statistics ./statistics/v0_us_counties_asn.sql

echo "All views created successfully"

0 comments on commit da00713

Please sign in to comment.