From 6d01c953bd53f728cf50f2f712be5b442a59e50a Mon Sep 17 00:00:00 2001 From: goog-pegman <85521967+goog-pegman@users.noreply.github.com> Date: Wed, 9 Jun 2021 09:19:54 -0700 Subject: [PATCH] fix: Update vaccination_access table columns to facility_country_region_code (#80) * chore: update to facility_country_region_code * generated DAG files for schema change Co-authored-by: Adler Santos --- .../_terraform/vaccination_access_to_bq_pipeline.tf | 8 ++++---- .../vaccination_access_to_bq/pipeline.yaml | 8 ++++---- .../vaccination_access_to_bq_dag.py | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/datasets/covid19_vaccination_access/_terraform/vaccination_access_to_bq_pipeline.tf b/datasets/covid19_vaccination_access/_terraform/vaccination_access_to_bq_pipeline.tf index 0173b9809..edae296f8 100644 --- a/datasets/covid19_vaccination_access/_terraform/vaccination_access_to_bq_pipeline.tf +++ b/datasets/covid19_vaccination_access/_terraform/vaccination_access_to_bq_pipeline.tf @@ -20,7 +20,7 @@ resource "google_bigquery_table" "facility_boundary_us_all" { dataset_id = "covid19_vaccination_access" table_id = "facility_boundary_us_all" - + description = "This table is formed by combining the data from the individual US tables of drive, transit and walk. It represents the boundaries of areas surrounding vaccination facilities from which people can reach the facility within certain duration. It is computed for 3 travel modes of drive, transit and walk and for predetermined time periods." depends_on = [ google_bigquery_dataset.covid19_vaccination_access @@ -40,7 +40,7 @@ resource "google_bigquery_table" "facility_boundary_us_drive" { dataset_id = "covid19_vaccination_access" table_id = "facility_boundary_us_drive" - + description = "This table represents the boundaries of areas surrounding vaccination facilities from which people can reach the facility by driving within predetermined time periods." depends_on = [ google_bigquery_dataset.covid19_vaccination_access @@ -60,7 +60,7 @@ resource "google_bigquery_table" "facility_boundary_us_transit" { dataset_id = "covid19_vaccination_access" table_id = "facility_boundary_us_transit" - + description = "This table represents the boundaries of areas surrounding vaccination facilities from which people can reach the facility by public transit within predetermined time periods." depends_on = [ google_bigquery_dataset.covid19_vaccination_access @@ -80,7 +80,7 @@ resource "google_bigquery_table" "facility_boundary_us_walk" { dataset_id = "covid19_vaccination_access" table_id = "facility_boundary_us_walk" - + description = "This table represents the boundaries of areas surrounding vaccination facilities from which people can reach the facility by walking within predetermined time periods." depends_on = [ google_bigquery_dataset.covid19_vaccination_access diff --git a/datasets/covid19_vaccination_access/vaccination_access_to_bq/pipeline.yaml b/datasets/covid19_vaccination_access/vaccination_access_to_bq/pipeline.yaml index cac89234e..da61830a2 100644 --- a/datasets/covid19_vaccination_access/vaccination_access_to_bq/pipeline.yaml +++ b/datasets/covid19_vaccination_access/vaccination_access_to_bq/pipeline.yaml @@ -75,7 +75,7 @@ dag: type: "STRING" mode: "NULLABLE" description: "The name of the country or region in English. For example, United States." - - name: "facility_country_code" + - name: "facility_country_region_code" type: "STRING" mode: "NULLABLE" description: "The ISO 3166-1 code for the country or region. For example, US." @@ -147,7 +147,7 @@ dag: type: "STRING" mode: "NULLABLE" description: "The name of the country or region in English. For example, United States." - - name: "facility_country_code" + - name: "facility_country_region_code" type: "STRING" mode: "NULLABLE" description: "The ISO 3166-1 code for the country or region. For example, US." @@ -219,7 +219,7 @@ dag: type: "STRING" mode: "NULLABLE" description: "The name of the country or region in English. For example, United States." - - name: "facility_country_code" + - name: "facility_country_region_code" type: "STRING" mode: "NULLABLE" description: "The ISO 3166-1 code for the country or region. For example, US." @@ -292,7 +292,7 @@ dag: type: "STRING" mode: "NULLABLE" description: "The name of the country or region in English. For example, United States." - - name: "facility_country_code" + - name: "facility_country_region_code" type: "STRING" mode: "NULLABLE" description: "The ISO 3166-1 code for the country or region. For example, US." diff --git a/datasets/covid19_vaccination_access/vaccination_access_to_bq/vaccination_access_to_bq_dag.py b/datasets/covid19_vaccination_access/vaccination_access_to_bq/vaccination_access_to_bq_dag.py index b18b64f35..5dff8ec18 100644 --- a/datasets/covid19_vaccination_access/vaccination_access_to_bq/vaccination_access_to_bq_dag.py +++ b/datasets/covid19_vaccination_access/vaccination_access_to_bq/vaccination_access_to_bq_dag.py @@ -81,7 +81,7 @@ "description": "The name of the country or region in English. For example, United States.", }, { - "name": "facility_country_code", + "name": "facility_country_region_code", "type": "STRING", "mode": "NULLABLE", "description": "The ISO 3166-1 code for the country or region. For example, US.", @@ -186,7 +186,7 @@ "description": "The name of the country or region in English. For example, United States.", }, { - "name": "facility_country_code", + "name": "facility_country_region_code", "type": "STRING", "mode": "NULLABLE", "description": "The ISO 3166-1 code for the country or region. For example, US.", @@ -291,7 +291,7 @@ "description": "The name of the country or region in English. For example, United States.", }, { - "name": "facility_country_code", + "name": "facility_country_region_code", "type": "STRING", "mode": "NULLABLE", "description": "The ISO 3166-1 code for the country or region. For example, US.", @@ -396,7 +396,7 @@ "description": "The name of the country or region in English. For example, United States.", }, { - "name": "facility_country_code", + "name": "facility_country_region_code", "type": "STRING", "mode": "NULLABLE", "description": "The ISO 3166-1 code for the country or region. For example, US.",