...

/

Solution: Loop Through a List of Columns

Solution: Loop Through a List of Columns

Get a detailed review of the solution to the “Loop Through a List of Columns” challenge.

We'll cover the following...

Solution

Let’s review the solution to the problem.

Please provide values for the following:
type
service_account
project_id
data-analysis-medium
private_key_id
2c7da4e64069d50bd44cf28567d7661395bed2a1
client_email
dbt-educative-course@data-analysis-medium.iam.gserviceaccount.com
client_id
108207116291318262825
auth_uri
https://accounts.google.com/o/oauth2/auth
token_uri
https://oauth2.googleapis.com/token
auth_provider_x509_cert_url
https://www.googleapis.com/oauth2/v1/certs
client_x509_cert_url
https://www.googleapis.com/robot/v1/metadata/x509/dbt-educative-course%40data-analysis-medium.iam.gserviceaccount.com
private_key
private_key
project_name
data-analysis-medium
dataset_name
educative
dataset_location
US
shop:
  outputs:
    dev:
      dataset: {{dataset_name}}
      job_execution_timeout_seconds: 300
      job_retries: 1
      keyfile: credentials.json
      location: {{dataset_location}}
      method: service-account
      priority: interactive
      project: {{project_id}}
      threads: 1
      type: bigquery
  target: dev
# Enter your new profile here
Solution code: Looping through a list of columns

Code explanation

    ...