ariansacct opened a new issue, #37592:
URL: https://github.com/apache/airflow/issues/37592

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.7.3
   
   ### What happened?
   
   A series of DAG runs were scheduled. Total number is around 30 (set using 
`start_date` and `end_date` params, one for each day of a month). On two of the 
runs, the value of `context['execution_date']` is `None`, failing the SQL task 
that uses it. The other runs are fine. All the runs use the same code and 
`provide_context = True` in all.
   
   ```
   default_args = {
       'owner': 'airflow',
       'depends_on_past': False,
       'schedule_interval': '@daily',
       'provide_context': True,
       "retry_delay": duration(minutes=5),
       'retries': 5
   }
   ```
   
   ### What you think should happen instead?
   
   The date should not be null.
   
   ### How to reproduce
   
   Not fully sure.
   
   ### Operating System
   
   Ubuntu 20.04.6 LTS
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   It happened a few times. It does not happen with every single DAG source 
code.
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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