pankajkoti commented on code in PR #31249:
URL: https://github.com/apache/airflow/pull/31249#discussion_r1193775854
##########
airflow/providers/google/cloud/operators/bigquery.py:
##########
@@ -2698,16 +2698,18 @@ def execute(self, context: Any):
self._handle_job_error(job)
return self.job_id
- self.defer(
- timeout=self.execution_timeout,
- trigger=BigQueryInsertJobTrigger(
- conn_id=self.gcp_conn_id,
- job_id=self.job_id,
- project_id=self.project_id,
- poll_interval=self.poll_interval,
- ),
- method_name="execute_complete",
- )
+ else:
+ if job.running():
Review Comment:
If the job has completed, can we add some log for the user to tell that
query has finished processing? It looks like we silently exit here without any
information for the user.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]