alexbegg commented on a change in pull request #10637:
URL: https://github.com/apache/airflow/pull/10637#discussion_r485319633



##########
File path: airflow/www/views.py
##########
@@ -563,7 +563,9 @@ def last_dagruns(self, session=None):
             return wwwutils.json_response({})
 
         query = session.query(
-            DagRun.dag_id, 
sqla.func.max(DagRun.execution_date).label('last_run')
+            DagRun.dag_id,
+            sqla.func.max(DagRun.execution_date).label('execution_date'),
+            sqla.func.max(DagRun.start_date).label('start_date'),

Review comment:
       I can test for that, thanks for the heads up. However I would think the 
value above it, the execution_date, would be wrong to get the max value in the 
query, not the run_date. I don't recall that being the case as that query has 
been the same for a long time now (I just renamed the column alais) but if it 
is wrong, I'll try and fix it.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to