Skip to content

Commit

Permalink
Log BigQuery job id in insert method of BigQueryHook (#12056)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarp committed Nov 3, 2020
1 parent 57768e6 commit 45ae145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/providers/google/cloud/hooks/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1500,6 +1500,7 @@ def insert_job(
if not job:
raise AirflowException(f"Unknown job type. Supported types: {supported_jobs.keys()}")
job = job.from_api_repr(job_data, client)
self.log.info("Inserting job %s", job.job_id)
# Start the job and wait for it to complete and get the result.
job.result()
return job
Expand Down

0 comments on commit 45ae145

Please sign in to comment.
  翻译: