From c721ccb5413587fd1b5ffd06d3297878411a56a3 Mon Sep 17 00:00:00 2001 From: Jimmy Shah Date: Mon, 13 Nov 2023 19:00:54 -0500 Subject: [PATCH] feat: convert vals to strings --- dbt/adapters/bigquery/python_submissions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dbt/adapters/bigquery/python_submissions.py b/dbt/adapters/bigquery/python_submissions.py index 6ea5a5564..ebe1d1d03 100644 --- a/dbt/adapters/bigquery/python_submissions.py +++ b/dbt/adapters/bigquery/python_submissions.py @@ -184,4 +184,7 @@ def _configure_batch(self): # Apply configuration from dataproc_batch key, possibly overriding defaults. if self.credential.dataproc_batch: batch = update_batch_from_config(self.credential.dataproc_batch, batch) + if batch.runtime_config.properties: + for key, val in batch.runtime_config.properties.items(): + batch.runtime_config.properties[key] = str(val) return batch