Skip to content

Commit

Permalink
feat: adding pyspark_job properties and archive_uris options
Browse files Browse the repository at this point in the history
  • Loading branch information
gbmarc1 committed Dec 7, 2023
1 parent c489332 commit b353877
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dbt/adapters/bigquery/python_submissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ def _submit_dataproc_job(self) -> dataproc_v1.types.jobs.Job:
"placement": {"cluster_name": self._get_cluster_name()},
"pyspark_job": {
"main_python_file_uri": self.gcs_location,
"archive_uris": self.parsed_model["config"].get(
"dataproc_archive_uris",
[],
),
"properties": self.parsed_model["config"].get(
"dataproc_properties",
{},
),
},
}
operation = self.job_client.submit_job_as_operation( # type: ignore
Expand Down

0 comments on commit b353877

Please sign in to comment.