From da00713c0115020e65f38be22d62aaf65b8e8f53 Mon Sep 17 00:00:00 2001 From: critzo Date: Fri, 2 Jul 2021 16:01:09 -0400 Subject: [PATCH] Update stats queries with corrected script (#102) * 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 --- views/create_dataset_views.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/views/create_dataset_views.sh b/views/create_dataset_views.sh index 986e3f7..6bdc434 100755 --- a/views/create_dataset_views.sh +++ b/views/create_dataset_views.sh @@ -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"