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

   Previously it was missing dag_id filter, but joining on start date would 
still be problematic. In this PR I refactor the query a bit so that all joins 
are guaranteed 1-1.  To get "latest" DagRun I sort by the DagRun.id column.  
This is a simplifying assumption that would be more performant than sorting by 
start_date, since there could be more than 1 dag run with a given start date.
   


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