Skip to content

Commit

Permalink
fix: do not remove destinationTable from job config (googleapis#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinigo committed Jan 24, 2021
1 parent 530e1e8 commit 9f09692
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions google/cloud/bigquery/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
from google.cloud import exceptions
from google.cloud.client import ClientWithProject

from google.cloud.bigquery._helpers import _del_sub_prop
from google.cloud.bigquery._helpers import _get_sub_prop
from google.cloud.bigquery._helpers import _record_field_to_json
from google.cloud.bigquery._helpers import _str_or_none
Expand Down Expand Up @@ -1726,7 +1725,6 @@ def create_job(self, job_config, retry=DEFAULT_RETRY, timeout=None):
)
elif "query" in job_config:
copy_config = copy.deepcopy(job_config)
_del_sub_prop(copy_config, ["query", "destinationTable"])
query_job_config = google.cloud.bigquery.job.QueryJobConfig.from_api_repr(
copy_config
)
Expand Down

0 comments on commit 9f09692

Please sign in to comment.