amoghrajesh commented on code in PR #69542:
URL: https://github.com/apache/airflow/pull/69542#discussion_r3541095620


##########
providers/google/src/airflow/providers/google/cloud/operators/bigquery.py:
##########
@@ -2351,6 +2378,11 @@ def __init__(
         self.configuration = configuration
         self.location = location
         self.job_id = job_id
+        # self.job_id is reassigned to the actual submitted/fetched job's id 
as execution
+        # proceeds (see _persist_job_links); this keeps the user's original 
input around so
+        # submit_job always computes ids from it, not from a job id set by an 
earlier
+        # get_job_status call in the same attempt (e.g. on a durable 
terminal_resubmit).
+        self._configured_job_id = job_id

Review Comment:
   Good catch, handled that by snapshotting the original id after templating, 
at the start of `execute` in aecae9e090



-- 
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]

Reply via email to