Skip to content

Commit 9f09692

Browse files
authored
fix: do not remove destinationTable from job config (googleapis#483)
1 parent 530e1e8 commit 9f09692

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

google/cloud/bigquery/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
from google.cloud import exceptions
4848
from google.cloud.client import ClientWithProject
4949

50-
from google.cloud.bigquery._helpers import _del_sub_prop
5150
from google.cloud.bigquery._helpers import _get_sub_prop
5251
from google.cloud.bigquery._helpers import _record_field_to_json
5352
from google.cloud.bigquery._helpers import _str_or_none
@@ -1726,7 +1725,6 @@ def create_job(self, job_config, retry=DEFAULT_RETRY, timeout=None):
17261725
)
17271726
elif "query" in job_config:
17281727
copy_config = copy.deepcopy(job_config)
1729-
_del_sub_prop(copy_config, ["query", "destinationTable"])
17301728
query_job_config = google.cloud.bigquery.job.QueryJobConfig.from_api_repr(
17311729
copy_config
17321730
)

0 commit comments

Comments
 (0)