Skip to content

Commit

Permalink
Fix: For COVID-19 Italy, resolve bucket variable in pipeline.yaml (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
nlarge-google authored Oct 14, 2022
1 parent 69128bc commit 1f913ac
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
# Task to load CSV data to a BigQuery table
load_data_by_province_to_bq_eu = gcs_to_bigquery.GCSToBigQueryOperator(
task_id="load_data_by_province_to_bq_eu",
bucket="public-datasets-dev-covid19-italy-eu",
bucket="{{ var.json.covid19_italy.destination_gcs_bucket }}",
source_objects="province/data_output.csv",
source_format="CSV",
destination_project_dataset_table="covid19_italy_eu.data_by_province",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ dag:
description: "Task to load CSV data to a BigQuery table"
args:
task_id: "load_data_by_province_to_bq_eu"
bucket: "public-datasets-dev-covid19-italy-eu"
bucket: "{{ var.json.covid19_italy.destination_gcs_bucket }}"
source_objects: "province/data_output.csv"
source_format: "CSV"
destination_project_dataset_table: "covid19_italy_eu.data_by_province"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
# Task to load CSV data to a BigQuery table
load_data_by_region_to_bq_eu = gcs_to_bigquery.GCSToBigQueryOperator(
task_id="load_data_by_region_to_bq_eu",
bucket="public-datasets-dev-covid19-italy-eu",
bucket="{{ var.json.covid19_italy.destination_gcs_bucket }}",
source_objects="region/data_output.csv",
source_format="CSV",
destination_project_dataset_table="covid19_italy_eu.data_by_region",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ dag:
description: "Task to load CSV data to a BigQuery table"
args:
task_id: "load_data_by_region_to_bq_eu"
bucket: "public-datasets-dev-covid19-italy-eu"
bucket: "{{ var.json.covid19_italy.destination_gcs_bucket }}"
source_objects: region/data_output.csv
source_format: "CSV"
destination_project_dataset_table: "covid19_italy_eu.data_by_region"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
# Task to load CSV data to a BigQuery table
load_national_trends_to_bq_eu = gcs_to_bigquery.GCSToBigQueryOperator(
task_id="load_national_trends_to_bq_eu",
bucket="public-datasets-dev-covid19-italy-eu",
bucket="{{ var.json.covid19_italy.destination_gcs_bucket }}",
source_objects="national/data_output.csv",
source_format="CSV",
destination_project_dataset_table="covid19_italy_eu.national_trends",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ dag:
description: "Task to load CSV data to a BigQuery table"
args:
task_id: "load_national_trends_to_bq_eu"
bucket: "public-datasets-dev-covid19-italy-eu"
bucket: "{{ var.json.covid19_italy.destination_gcs_bucket }}"
source_objects: national/data_output.csv
source_format: "CSV"
destination_project_dataset_table: "covid19_italy_eu.national_trends"
Expand Down

0 comments on commit 1f913ac

Please sign in to comment.