uranusjr opened a new pull request #16809:
URL: https://github.com/apache/airflow/pull/16809


   The native sqlalchemy DateTime type does not compare well when timezones 
don't match. This can happen if the current execution_date on a DagRun instance 
is not in UTC (the db entry is always in UTC).
   
   Since DagRun has a unique constraint on `(dag_id, run_id)`, these two should 
be able to return one unique result, and the `executrion_date` column should 
not be needed anyway. Let's just remove that filter to prevent all the datetime 
comparison trouble.
   
   Fix #14249.


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