nakamura1878 opened a new pull request, #46753:
URL: https://github.com/apache/airflow/pull/46753

   ## Fix Description
   
   Fixed a bug where the job_id was not returned in the execute method of 
BigQueryInsertJobOperator. This fix ensures that even if the job finishes 
before being marked as running, the job_id will be correctly return job_id.
   
   ## Changes
   
   - Modified the execute method of BigQueryInsertJobOperator to save the 
job_id in the context.
   - Updated the execute_complete method to retrieve the job_id from the 
context.
   
   ## Tests
   - Modify the test case 
test_bigquery_insert_job_operator_async_finish_before_deferred to verify that 
the job_id is correctly returned even if the job finishes before being marked 
as running.
   


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